is x[34] an atom according to your requirements?
How about 3+4*%i, a complex constant?
how about a bigfloat?
Albert Reiner wrote:
>Hi,
>
>the documentation for ATOM
>
> - Function: ATOM (exp)
> is TRUE if exp is atomic (i.e. a number or name) else FALSE.
> ^^^^^^^^^^^^^^^^^^^^^^^
>
>seems to imply that
>
> atom(x)
>
>is equivalent to
>
> symbolp(x) or numberp(x).
>
>Not surprisingly, I also found that strings are atoms (there does not
>seem to be a stringp function, BTW). Are there any other
>possibilities for atoms in Maxima?
>
>Thanks again,
>
>Albert.
>
>_______________________________________________
>Maxima mailing list
>Maxima@www.math.utexas.edu
>http://www.math.utexas.edu/mailman/listinfo/maxima
>
>