Inconsistent Declaration: ... -- an error.
But if f(x):=0 it is both an evenfun (i.e. f(x)=f(-x)) and
an oddfun (f(x)=-f(-x)).
So this should be a warning, e.g.
Warning: f is being declared as both an evenfun and an
oddfun; therefore f is the constant function 0.
Log in to post a comment.