atomic - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


type/atomic

check for an object of type atomic

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(x, atomic)

Parameters

x

-

any expression

Description

• 

The call type(x, atomic) checks to see if x is of type atomic. It returns true if x is of type atomic, and false otherwise.

• 

An object is of type atomic if it cannot be mapped over, that is, mapf,x=fx.  Objects in Maple which have this property are of type name, complex(extended_numeric), indexed, string, procedure, or `module`.

Examples

type1,atomic

true

(1)

type12,atomic

true

(2)

type0.5,atomic

true

(3)

type3+12I,atomic

true

(4)

typex+12I,atomic

false

(5)

typeString,atomic

true

(6)

typeName,atomic

true

(7)

typeab,atomic

true

(8)

typeab,atomic

false

(9)

See Also

map

type

type/extended_numeric

type/float

type/fraction

type/indexed

type/integer

type/literal

type/module

type/name

type/procedure

type/rational

type/string