symbolic matrix of ones
B = Ones(A) B = Ones( r, c )
symbolic matrix
non-negative integer
Returns a matrix of ones with the same dimensions as matrix A.
Returns a matrix of ones with r rows and c columns.
SymEngine: C++ library for fast symbolic manipulation.