create a matrix of symbolic scalars
M: Mat() M: Mat( A ) M: Mat( b, r, c )
matrix of symbolic scalars, integers, doubles, or strings
symbolic scalar, string
non-negative integer
non-negative integer
matrix of symbolic scalars
Returns an empty symbolic matrix.
Returns a matrix, whose elements are taken from the matrix A.
Returns a matrix with r rows and c columns.
For a symbolic scalar b all elements are set to b.
For a vector of symbolic scalars b the matrix is filled row-wise with the elements of b.
For a string b the elements are different symbols named "b" appended by an index "ij" with i = 1,..,r, j = 1,.., c.
SymEngine: C++ library for fast symbolic manipulation.