# operator !=

> Returns the result of a componentwise not equal operation on two uint4x2 matrices.

## Definition

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

## operator !=(uint4x2, uint4x2)

Returns the result of a componentwise not equal operation on two uint4x2 matrices.

```csharp
public static bool4x2 operator !=(uint4x2 lhs, uint4x2 rhs)
```

### Parameters

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

### Returns

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

## operator !=(uint4x2, uint)

Returns the result of a componentwise not equal operation on a uint4x2 matrix and a uint value.

```csharp
public static bool4x2 operator !=(uint4x2 lhs, uint rhs)
```

### Parameters

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

### Returns

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

## operator !=(uint, uint4x2)

Returns the result of a componentwise not equal operation on a uint value and a uint4x2 matrix.

```csharp
public static bool4x2 operator !=(uint lhs, uint4x2 rhs)
```

### Parameters

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

### Returns

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