MATRIX
.
MATRIX Variable [(Rows,Columns)]
The basic operations +, -, *, and /, the unary operators
+ and - as well as +=, -=, *=, and /= are
defined for real matrices.
Comparisons of real matrices are possible with ==, !=, <, <=,
>, and >=. All comparisons are performed componentwise and the result of a
vector comparison is true, if it is true for all components. Otherwise the result is
FALSE
.
If i and j are INT
expressions and M a matrix,
v(i,j) denotes the element in the i-th row
and j-th column of the matrix M
.
Additionally, the following functions are provided:
INT RowDimension (MATRIX M)
INT ColDimension (MATRIX M)
void Resize (MATRIX M, INT i, INT j)
void MakeTemporary (MATRIX M)
See section Configuration, for details.
void MakePermanent (MATRIX M)
See section Configuration, for details.
void Clear (MATRIX M)
void Initialize (MATRIX M, REAL r)
VECTOR Row (MATRIX M, INT i)
VECTOR Col (MATRIX M, INT i)
void SetRow (MATRIX M, INT i, VECTOR v)
void SetCol (MATRIX M, INT i, VECTOR v)