featurep(e, real)



On 5/15/06, Stavros Macrakis <macrakis at gmail.com> wrote:

> I think you need to declare F complex *as a function*, not just declare it
> to be both complex and a function.  After all, as Barton points out,
> ordinary mathematical notation often uses the same symbol for both a
> function and a constant.

I don't see how Maxima can allow the same symbol to be
declared a constant and a function, because that makes
expressions like F + G ambiguous, right?

So far as I know there are no symbols which are both
constants and functions in Maxima at present.
The gamma function is gamma and the Euler-Mascheroni
constant is %gamma; nothing else comes to mind.

A slightly different topic -- a while back I tried to declare a
constant function as declare (F, constant); in hopes that
diff (F(x), x); would be zero and stuff like that -- no such luck.

FWIW
Robert