<< typeClass SYMSCI Toolbox

SYMSCI Toolbox >> SYMSCI Toolbox > typeID

typeID

id of symbolic scalar type class

Calling Sequence

id = typeID( a )

Arguments

a

symbolic scalar

id

non-negative integer

Description

Returns the class (id) of a symbolic scalar a.

Examples

// some symbolic scalars ...
a = %(Sym("x+5"))
b = %(Sym("5+x"))
c = %(Sym("1"))
d = %(Sym("1.0"))

// ... and their IDs

typeID(a)
typeID(b)
typeID(c)
typeID(d)

// clean up
reset();
clear a b c d;

See Also

Authors

Bibliography

SymEngine: C++ library for fast symbolic manipulation.


Report an issue
<< typeClass SYMSCI Toolbox