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

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

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com