Navigation:  thinBasic Modules > Math > Matrix functions >

MAT

Previous pageReturn to chapter overviewNext page

 

Description

 

Compute a set of operations with matrices.

 

Syntax

 

MAT a1() = CON               '--- Set all elements of a1() to one

MAT a1() = CON(expr)         '--- Set all elements of a1() to value of expr

MAT a1() = IDN               '--- Establish a1() as an identity matrix

MAT a1() = ZER               '--- Set all elements of a1() to zero

MAT a1() = a2[()] + a3[()]   '--- Addition

MAT a1() = a2()             '--- Assignment

MAT a1() = INV(a2())         '--- Inversion

 

MAT a1() = (expr) * a2()     '--- Scalar Multiplication.

                            '--- Attention: () must be present and

                            '---            must surround the scalar expression

 

MAT a1() = a2() - a3()       '--- Subtraction

MAT a1() = a2() * a3()       '--- Multiplication

MAT a1() = TRN(a2())         '--- Transposition

 

Returns

 

None.

 

Parameters

 

Remarks

 

Restrictions

 

See also

 

DET, DotProduct

 

Examples