40.4 Zero and One for Matrix Algebras
Zero( A )
:-
returns the square zero matrix of the same dimension and
characteristic as the elements of A. This matrix is thought only
for testing whether a matrix is zero, usually all its rows will be
identical in order to save space. So you should not use this
zero matrix for other purposes; use NullMat NullMat
instead.
One( A )
:-
returns for a unital matrix algebra A the identity matrix of the
same dimension and characteristic as the elements of A; for a not
unital matrix algebra A the (left and right) multiplicative
neutral element (if exists) is computed by solving a linear equation
system.
Previous Up Top Next
Index
GAP 3.4.4
April 1997