number of rows of a matrix of symbolic scalars
r = rows( A )
matrix of symbolic scalars
non-negative integer
Returns the number of rows r of a matrix A.
// create a (3,4)-matrix M = %(Mat("e",3,4)) // number of rows in M rows(M) // number of cols in M cols(M) // number of elements in M elems(M) // clean up reset(); clear M;
SymEngine: C++ library for fast symbolic manipulation.