<< isScalar SYMSCI Toolbox isSym >>

SYMSCI Toolbox >> SYMSCI Toolbox > isSet

isSet

check for set of symbolic scalars

Calling Sequence

t = isSet( s )

Arguments

s

symbolic object

t

boolean

Description

Returns true (%t) if symbolic object s is a set of symbolic scalars and false (%f) otherwise.

Examples

// some symbolic variables
a = %(Sym("1.234+x"));
b = %(Set());
c = %(Mat(a,2,3));

// which is a set?
isSet(a)
isSet(b)
isSet(c)

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

See Also

Authors

Bibliography

SymEngine: C++ library for fast symbolic manipulation.


Report an issue
<< isScalar SYMSCI Toolbox isSym >>