Next: , Previous: , Up: JACAL   [Contents][Index]


4 Matrices and Tensors

In JACAL, a matrix is just a bunch of equal length bunchs, and this is the structure that the matrix operations currently supported by JACAL (ncmult(), ^^, transpose(), etc.) expect. A row-vector is coded like [[a,b,c]]; a column-vector is coded by [[a],[b],[c]] or [[a,b,c]]^^t or [a,b,c]^^t.