<< toString SYMSCI Toolbox typeID >>

SYMSCI Toolbox >> SYMSCI Toolbox > typeClass

typeClass

name of symbolic scalar type class

Calling Sequence

name = typeClass( a )

Arguments

a

symbolic scalar

name

string

Description

Returns the class (name) 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 class names

typeClass(a)
typeClass(b)
typeClass(c)
typeClass(d)

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

See Also

Authors

Bibliography

SymEngine: C++ library for fast symbolic manipulation.


Report an issue
<< toString SYMSCI Toolbox typeID >>