ZeroMat -- matrix filled with 0 |
Syntax |
ZeroMat(R: RING, NumRows: INT, NumCols: INT): MAT |
Description |
Example |
/**/ use R ::= QQ[x,y,z]; /**/ ZeroMat(QQ, 1, 3); --> same as NewMatFilled(1,3, 0) matrix(QQ, [[0, 0, 0]]) /**/ ZeroMat(R, 1, 3); --> same as NewMatFilled(1,3, zero(R)) matrix( /*RingDistrMPolyClean(QQ, 3)*/ [[0, 0, 0]]) |
See Also |