next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: matrix(MutableMatrix)

matrix(MutableMatrix) -- make a matrix from a mutable one

Synopsis

Description

There are many more operations available for matrices than for immutable matrices, but mutable matrices are sometimes easier to construct.
m = mutableMatrix(ZZ,3,5)
m_(1,2) = 3
m_(2,4) = 54
m_(0,0) = -12
m
matrix m

See also