# fastinverse

> Fast matrix inverse for rigid transforms (orthonormal basis and translation)

## Definition

* **Type:** Method
* **Namespace:** [Unity.Mathematics](/engine/6000.5/script-reference/unity/mathematics.md)
* **Assembly:** UnityEngine.MathematicsModule

## fastinverse(double3x4)

Fast matrix inverse for rigid transforms (orthonormal basis and translation)

```csharp
public static double3x4 fastinverse(double3x4 m)
```

### Parameters

**** (\[double3x4]\(/engine/6000.5/script-reference/unity/mathematics/double3x4)): Matrix to invert.

### Returns

| Type                                                                        | Description          |
| --------------------------------------------------------------------------- | -------------------- |
| [double3x4](/engine/6000.5/script-reference/unity/mathematics/double3x4.md) | The inverted matrix. |

## fastinverse(double4x4)

Fast matrix inverse for rigid transforms (orthonormal basis and translation)

```csharp
public static double4x4 fastinverse(double4x4 m)
```

### Parameters

**** (\[double4x4]\(/engine/6000.5/script-reference/unity/mathematics/double4x4)): Matrix to invert.

### Returns

| Type                                                                        | Description          |
| --------------------------------------------------------------------------- | -------------------- |
| [double4x4](/engine/6000.5/script-reference/unity/mathematics/double4x4.md) | The inverted matrix. |

## fastinverse(float3x4)

Fast matrix inverse for rigid transforms (orthonormal basis and translation)

```csharp
public static float3x4 fastinverse(float3x4 m)
```

### Parameters

**** (\[float3x4]\(/engine/6000.5/script-reference/unity/mathematics/float3x4)): Matrix to invert.

### Returns

| Type                                                                      | Description          |
| ------------------------------------------------------------------------- | -------------------- |
| [float3x4](/engine/6000.5/script-reference/unity/mathematics/float3x4.md) | The inverted matrix. |

## fastinverse(float4x4)

Fast matrix inverse for rigid transforms (orthonormal basis and translation)

```csharp
public static float4x4 fastinverse(float4x4 m)
```

### Parameters

**** (\[float4x4]\(/engine/6000.5/script-reference/unity/mathematics/float4x4)): Matrix to invert.

### Returns

| Type                                                                      | Description          |
| ------------------------------------------------------------------------- | -------------------- |
| [float4x4](/engine/6000.5/script-reference/unity/mathematics/float4x4.md) | The inverted matrix. |
