next up previous contents
Next: Frame - Matrix commands Up: Matrices Previous: Matrices

The matrix structure

  

Matrix is a data structure mainly designed for multi-dimensional calculations with the Fourier transform method. However, the matrix design also allows normal vectors to be stored in matrix form.

There are some user commands for matrices:

matrix Create a small one- or two-dimensional matrix
<name> name of the input data
<[a, b;c, d]> input values
print Print the contents of a matrix
<matr> matrix or field to be printed
[-matr] choose matrix mode
[-f] choose field mode

The command matrix is used to create a small one- or two-dimensional matrix manually. The matrix created with this command contains only float values.

Matrix contents can be viewed by using the command print. This command can also be used to print integer and float fields. The values are printed using the following order: 1. [0]...[0][0][0-n], 2. [0]...[0][1][0-n], ...



Anssi Lensu
Thu May 17 15:00:44 EET DST 2001