transmitting a matrix

Most objects in the engine are stored as matrices. Even single polynomials are usually stored as 1 by 1 matrices.

A matrix is transmitted by sending the columns as a sequence of vectors.

     i1 = R = ZZ/101[x,y,z]
     
     o1 = R
     
     o1 : PolynomialRing
     
     i2 = f = matrix ( R, {{11,0,33},{0,22,34}} )
     
     o2 = | 11 0  33 |
          | 0  22 34 |
     
                  2       3
     o2 : Matrix R  <--- R
     
     i3 = ascii sendgg(ggPush f, ggtonet)
     
     o3 = {3,1,0,0,11,1,1,0,22,2,1,0,34,0,0,33}
     
     o3 : List
     

See also transmitting a vector.

Go to main index.

Go to concepts index.