# operator -

> Returns the result of a componentwise subtraction operation on two uint2x4 matrices.

## Definition

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

## operator -(uint2x4, uint2x4)

Returns the result of a componentwise subtraction operation on two uint2x4 matrices.

```csharp
public static uint2x4 operator -(uint2x4 lhs, uint2x4 rhs)
```

### Parameters

**** (\[uint2x4]\(/engine/6000.6/script-reference/unity/mathematics/uint2x4)): Left hand side uint2x4 to use to compute componentwise subtraction.**** (\[uint2x4]\(/engine/6000.6/script-reference/unity/mathematics/uint2x4)): Right hand side uint2x4 to use to compute componentwise subtraction.

### Returns

| Type                                                                    | Description                                      |
| ----------------------------------------------------------------------- | ------------------------------------------------ |
| [uint2x4](/engine/6000.6/script-reference/unity/mathematics/uint2x4.md) | uint2x4 result of the componentwise subtraction. |

## operator -(uint2x4, uint)

Returns the result of a componentwise subtraction operation on a uint2x4 matrix and a uint value.

```csharp
public static uint2x4 operator -(uint2x4 lhs, uint rhs)
```

### Parameters

**** (\[uint2x4]\(/engine/6000.6/script-reference/unity/mathematics/uint2x4)): Left hand side uint2x4 to use to compute componentwise subtraction.**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): Right hand side uint to use to compute componentwise subtraction.

### Returns

| Type                                                                    | Description                                      |
| ----------------------------------------------------------------------- | ------------------------------------------------ |
| [uint2x4](/engine/6000.6/script-reference/unity/mathematics/uint2x4.md) | uint2x4 result of the componentwise subtraction. |

## operator -(uint, uint2x4)

Returns the result of a componentwise subtraction operation on a uint value and a uint2x4 matrix.

```csharp
public static uint2x4 operator -(uint lhs, uint2x4 rhs)
```

### Parameters

**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): Left hand side uint to use to compute componentwise subtraction.**** (\[uint2x4]\(/engine/6000.6/script-reference/unity/mathematics/uint2x4)): Right hand side uint2x4 to use to compute componentwise subtraction.

### Returns

| Type                                                                    | Description                                      |
| ----------------------------------------------------------------------- | ------------------------------------------------ |
| [uint2x4](/engine/6000.6/script-reference/unity/mathematics/uint2x4.md) | uint2x4 result of the componentwise subtraction. |
