[back] [prev] [next] [index] [root]

 


MatSym

missing shortdoc

Syntax:

M := MatSym(S, L);

matrix
  M  
ring
  S  
list
  L  

Description:

Creates the symmetric matrix M over the coefficient ring S.


Example:

Create the symmetric matrix \left(\begin{array}{cccc} 1 & 2 & 3 & 4 2 & 5 & 6 & 7 3 & 6 & 8 & 9 4 & 7 & 9 & 10 \end{array}right) \in {Z}^{4 \times 4}.

kash> MatSym(Z, [[1,2,3,4], [5,6,7], [8,9], [10]]);
> [ 1  2  3  4]
[ 2  5  6  7]
[ 3  6  8  9]
[ 4  7  9 10]


<- back[back] [prev] [next] [index] [root]