next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: Matrix

Matrix -- the class of all matrices

Description

A matrix is a homomorphism between two modules, together with an integer (or vector of integers) called its degree, which is used when determining whether the map is homogeneous. The matrix is stored in the usual way as a rectangular array of ring elements. When the source or target modules are not free, the matrix is interpreted as a linear transformation in terms of the generators of the modules.

A matrix f is an immutable object, so if you want to cache information about it, put it in the hash table f.cache.

Common ways to make a matrix:

Common ways to get information about matrices: Common operations on matrices: Common ways to use a matrix:

See also

Functions and methods returning a matrix :

Methods that use a matrix :

For the programmer

The object Matrix is a type, with ancestor classes ModuleMap < HashTable < Thing.