|  |  4.20 smatrix 
An experimental type:Objects of type smatrix are (sparse) matrices with polynomial entries.
Like polynomials they can
only be defined or accessed with respect to a basering.
 
Objects of type smatrixcan be converted to and frommatrixandmodule.
Operations are+,-,*,==,<>.
Functions arencols,nrows,std,transpose,tensor.
Additionalflatten(m)andsystem("unflatten",m,col).Resizing can be done via
 smatrix(m,r,c)where m is of typemoduleorsmatrix.Access to single entries:
 m[i,j] 
See
 flatten;
 matrix;
 module;
 ncols;
 nrows;
 ring;
 std;
 tensor;
 transpose.
 |