Inverts the matrix m and stores the result in this matrix: this = m^-1
Int32 SIMatrix3.Invert( SIMatrix3 in_pMatrix ); |
oBoolean = SIMatrix3.Invert( m ); |
Boolean True if the matrix m has been inverted (m is not singular); otherwise False.
Parameter | Type | Description |
---|---|---|
m | SIMatrix3 | Matrix operand |
dim m1, m2 ' Create 3x3 matrices. set m1 = XSIMath.CreateMatrix3(2.0, 3.0, 0.0, 1.0, 4.0, 0.0, 0.0, 0.0, 1.0) set m2 = XSIMath.CreateMatrix3 if m2.Invert( m1 ) then 'do something else 'do another thing end if |