|
>
|
convert([[1,2],[3,4]],array);
|
| (2.1) |
>
|
A := linalg[randmatrix](3,3,symmetric):
lprint(%);
|
array(symmetric,1 .. 3, 1 .. 3,[(1, 3)=-35,(1, 1)=-85,(1, 2
)=-55,(2, 2)=-37,(2, 3)=97,(3, 3)=50])
| |
>
|
convert(A,array):
lprint(%);
|
array(1 .. 3, 1 .. 3,[(1, 3)=-35,(1, 1)=-85,(3, 2)=97,(1, 2
)=-55,(3, 1)=-35,(2, 1)=-55,(2, 2)=-37,(2, 3)=97,(3, 3)=50]
)
| |
|