# determinant

> Returns the determinant of a double2x2 matrix.

## Definition

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

## determinant(double2x2)

Returns the determinant of a double2x2 matrix.

```csharp
public static double determinant(double2x2 m)
```

### Parameters

**** (\[double2x2]\(/engine/6000.5/script-reference/unity/mathematics/double2x2)): Matrix to use when computing determinant.

### Returns

| Type                                                           | Description                    |
| -------------------------------------------------------------- | ------------------------------ |
| [double](https://learn.microsoft.com/dotnet/api/system.double) | The determinant of the matrix. |

## determinant(double3x3)

Returns the determinant of a double3x3 matrix.

```csharp
public static double determinant(double3x3 m)
```

### Parameters

**** (\[double3x3]\(/engine/6000.5/script-reference/unity/mathematics/double3x3)): Matrix to use when computing determinant.

### Returns

| Type                                                           | Description                    |
| -------------------------------------------------------------- | ------------------------------ |
| [double](https://learn.microsoft.com/dotnet/api/system.double) | The determinant of the matrix. |

## determinant(double4x4)

Returns the determinant of a double4x4 matrix.

```csharp
public static double determinant(double4x4 m)
```

### Parameters

**** (\[double4x4]\(/engine/6000.5/script-reference/unity/mathematics/double4x4)): Matrix to use when computing determinant.

### Returns

| Type                                                           | Description                    |
| -------------------------------------------------------------- | ------------------------------ |
| [double](https://learn.microsoft.com/dotnet/api/system.double) | The determinant of the matrix. |

## determinant(float2x2)

Returns the determinant of a float2x2 matrix.

```csharp
public static float determinant(float2x2 m)
```

### Parameters

**** (\[float2x2]\(/engine/6000.5/script-reference/unity/mathematics/float2x2)): Matrix to use when computing determinant.

### Returns

| Type                                                          | Description                    |
| ------------------------------------------------------------- | ------------------------------ |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | The determinant of the matrix. |

## determinant(float3x3)

Returns the determinant of a float3x3 matrix.

```csharp
public static float determinant(float3x3 m)
```

### Parameters

**** (\[float3x3]\(/engine/6000.5/script-reference/unity/mathematics/float3x3)): Matrix to use when computing determinant.

### Returns

| Type                                                          | Description                    |
| ------------------------------------------------------------- | ------------------------------ |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | The determinant of the matrix. |

## determinant(float4x4)

Returns the determinant of a float4x4 matrix.

```csharp
public static float determinant(float4x4 m)
```

### Parameters

**** (\[float4x4]\(/engine/6000.5/script-reference/unity/mathematics/float4x4)): Matrix to use when computing determinant.

### Returns

| Type                                                          | Description                    |
| ------------------------------------------------------------- | ------------------------------ |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | The determinant of the matrix. |

## determinant(int2x2)

Returns the determinant of a int2x2 matrix.

```csharp
public static int determinant(int2x2 m)
```

### Parameters

**** (\[int2x2]\(/engine/6000.5/script-reference/unity/mathematics/int2x2)): Matrix to use when computing determinant.

### Returns

| Type                                                       | Description                    |
| ---------------------------------------------------------- | ------------------------------ |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | The determinant of the matrix. |

## determinant(int3x3)

Returns the determinant of a int3x3 matrix.

```csharp
public static int determinant(int3x3 m)
```

### Parameters

**** (\[int3x3]\(/engine/6000.5/script-reference/unity/mathematics/int3x3)): Matrix to use when computing determinant.

### Returns

| Type                                                       | Description                    |
| ---------------------------------------------------------- | ------------------------------ |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | The determinant of the matrix. |

## determinant(int4x4)

Returns the determinant of a int4x4 matrix.

```csharp
public static int determinant(int4x4 m)
```

### Parameters

**** (\[int4x4]\(/engine/6000.5/script-reference/unity/mathematics/int4x4)): Matrix to use when computing determinant.

### Returns

| Type                                                       | Description                    |
| ---------------------------------------------------------- | ------------------------------ |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | The determinant of the matrix. |
