Matrices are represented in GAP by lists of row vectors (see Row Vectors). The vectors must all have the same length, and their elements must lie in a common ring.
Because matrices are just a special case of lists, all operations and functions for lists are applicable to matrices also (see chapter Lists). This especially includes accessing elements of a matrix (see List Elements), changing elements of a matrix (see List Assignment), and comparing matrices (see Comparisons of Lists).
InfoMatrix V
The info class for matrix operations is InfoMatrix.
[Top] [Previous] [Up] [Next] [Index]
GAP 4 manual