# operator -

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

## Definition

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

## operator -(float4x2, float4x2)

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

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

### Parameters

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

### Returns

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

## operator -(float4x2, float)

Returns the result of a componentwise subtraction operation on a float4x2 matrix and a float value.

```csharp
public static float4x2 operator -(float4x2 lhs, float rhs)
```

### Parameters

**** (\[float4x2]\(/engine/6000.7/script-reference/unity/mathematics/float4x2)): Left hand side float4x2 to use to compute componentwise subtraction.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): Right hand side float to use to compute componentwise subtraction.

### Returns

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

## operator -(float, float4x2)

Returns the result of a componentwise subtraction operation on a float value and a float4x2 matrix.

```csharp
public static float4x2 operator -(float lhs, float4x2 rhs)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): Left hand side float to use to compute componentwise subtraction.**** (\[float4x2]\(/engine/6000.7/script-reference/unity/mathematics/float4x2)): Right hand side float4x2 to use to compute componentwise subtraction.

### Returns

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