Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Atom

Function: atom (<expr>) Returns true if <expr> is atomic (i.e. a number, name or string) else false. Thus atom(5) is true while atom(a[1]) and atom(sin(x)) are false (asuming a[1] and x are unbound).

There are also some inexact matches for atom. Try ?? atom to see them.

(%o1)                                true
(%i2) 

Related Examples

atom-sin

a : %pi/2;

a;

atom(a);

Calculate

atom-is

eq1: 1;

is (eq, atom);

Calculate

atom-kill-op-sin

a : '(sin(%pi/2)-p);

kill(a);

a : q - p;

Calculate

atom-evenp-subset

subset ({1, 2, x, x +...

subset ({1, 2, 7, 8,...

-17;

Calculate

atom-block-expand-false-length-part-print-return-sqrt

_is_atom(expr):=block...

_is_atom(a);

_is_atom(1);

Calculate

atom-evenp-subset

subset ({1, 2, x, x +...

subset ({1, 2, 7, 8,...

3/4;

Calculate

atom-block-expand-false-length-part-print-return-sqrt

_is_atom(expr):=block...

_is_atom(a);

_is_atom(1);

Calculate

atom-sin

a : '(1-sin(%pi/2));

a;

atom('(1-sin(%pi/2)));

Calculate