Matrix
Matrix -- the class of all matrices for which Groebner basis operations
are available from the engine.
A matrix is a map from a graded module to a graded module, see Module. The degree of the map is not necessarily 0, and may
be obtained with degree.
Multiplication of matrices corresponds to composition of maps, and when
f and g are maps so that the target Q
of g equals the source P of f, the
product f*g is defined, its source is the source of g, and its target is the target of f. The degree of f*g is the sum of the degrees of f and of g. The product is also defined when P != Q,
provided only that P and Q are free modules of the
same rank. If the degrees of P differ from the corresponding
degrees of Q by the same degree d, then the degree
of f*g is adjusted by d so it will have a good
chance to be homogeneous, and the target and source of f*g
are as before.
If h is a matrix then h_j is the j-th
column of the matrix, and h_j_i is the entry in row i, column j. The notation h_(i,j) can be
used as an abbreviation for h_j_i, allowing row and column
indices to be written in the customary order.
If m and n are matrices, a is a ring element,
and i is an integer, then m+n, m-n,
-m, m n, a*m, and i*m denote the
usual matrix arithmetic. Use m == n, and m == 0 to
check equality of matrices.
Operations which produce matrices:
Operations on matrices:
Operations which produce modules from matrices:
Operations which produce Groebner bases from matrices:
Printing matrices:



