Macaulay2 Engine
Loading...
Searching...
No Matches

◆ makeZeroMatrix()

template<typename Mat>
MutableMat * MutableMat< Mat >::makeZeroMatrix ( size_t nrows,
size_t ncols ) const
inline

Definition at line 276 of file mutablemat-defs.hpp.

277 {
278 return new MutableMat(get_ring(), &mat.ring(), nrows, ncols);
279 }
virtual const Ring * get_ring() const

References get_ring(), mat, and MutableMat().

Referenced by invert(), mult(), nullSpace(), rowReducedEchelonForm(), solveInvertible(), solveLinear(), submatrix(), submatrix(), and transpose().