## SIMatrix4.TransposeInverse

### Description

Sets this matrix to the transpose of the inverse of the input matrix m (if not singular): this = Transpose(m^-1)

### C# Syntax

    Int32 SIMatrix4.TransposeInverse( SIMatrix4 in_pMatrix );

### Scripting Syntax

    oBoolean = SIMatrix4.TransposeInverse( m );

### Return Value

Boolean True if the matrix m has been inverted (not singular); otherwise False.

### Parameters

Parameter | Type | Description
--- | --- | ---
m | SIMatrix4 | Matrix operand

### Examples

#### JScript Example

    /*

    	This example demonstrates how to set up a 4x4 matrix,

    	invert and transpose it and then trap whether the

    	operation was successful

    */

    var m1 = XSIMath.CreateMatrix4(

    	2.0, 3.0, 0.0, 0.0,

    	1.0, 4.0, 0.0, 0.0,

    	0.0, 0.0, 1.0, 0.0,

    	0.0, 0.0, 0.0, 1.0

    );

    var m2 = XSIMath.CreateMatrix4();

    if ( m2.TransposeInverse(m1) ) {

    	Application.LogMessage("Success :-D");

    } else {

    	Application.LogMessage("Failure :-(");

    }

    // Expected result:

    // INFO : Success :-D

### See Also

SIMatrix4.TransposeInverseInPlace SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion