Function: isevenfunction
ISEVENFUNCTION  True if function is even
  Usage:  t=isevenfunction(f);
          t=isevenfunction(f,tol);

  ISEVENFUNCTION(f) returns 1 if f is whole point even. Otherwise it
  returns 0.

  ISEVENFUNCTION(f,tol) does the same, using the tolerance tol to measure
  how large the error between the two parts of the vector can be. Default
  is 1e-10.

  Adding the flag 'hp' as the last argument does the same for half point
  even functions.
 

Url: http://ltfat.github.io/doc/fourier/isevenfunction.html

See also: middlepad, peven.

Package: ltfat