<< isEqual SYMSCI Toolbox isNotEqual >>

SYMSCI Toolbox >> SYMSCI Toolbox > isMatrix

isMatrix

check for matrix of symbolic scalars

Calling Sequence

t = isMatrix( s )

Arguments

s

symbolic object

t

boolean

Description

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

Examples

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

// what is a matrix?
isMatrix(a)
isMatrix(b)
isMatrix(c)

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

See Also

Authors

Bibliography

SymEngine: C++ library for fast symbolic manipulation.


Report an issue
<< isEqual SYMSCI Toolbox isNotEqual >>