Home Online Manual
Back: map related functions
Forward: matrix declarations
FastBack: map
FastForward: module
Up: Data types
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

4.11 matrix

Objects of type matrix are matrices with polynomial entries. Like polynomials they can only be defined or accessed with respect to a basering. In order to compute with matrices having integer or rational entries, define a ring with characteristic 0 and at least one variable.

A matrix can be multiplied by and added to a poly; in this case the polynomial is converted into a matrix of the right size with the polynomial on the diagonal.

If A is a matrix then the assignment module M=A; or module M=module(A); creates a module generated by the columns of A. Note that the trailing zero columns of A may be deleted by module operations with M.

4.11.1 matrix declarations  
4.11.2 matrix expressions  
4.11.3 matrix type cast  
4.11.4 matrix operations  
4.11.5 matrix related functions