# operator !=

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

## Definition

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

## operator !=(uint2x2, uint2x2)

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

```csharp
public static bool2x2 operator !=(uint2x2 lhs, uint2x2 rhs)
```

### Parameters

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

### Returns

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

## operator !=(uint2x2, uint)

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

```csharp
public static bool2x2 operator !=(uint2x2 lhs, uint rhs)
```

### Parameters

**** (\[uint2x2]\(/engine/6000.5/script-reference/unity/mathematics/uint2x2)): Left hand side uint2x2 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                                    |
| ----------------------------------------------------------------------- | ---------------------------------------------- |
| [bool2x2](/engine/6000.5/script-reference/unity/mathematics/bool2x2.md) | bool2x2 result of the componentwise not equal. |

## operator !=(uint, uint2x2)

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

```csharp
public static bool2x2 operator !=(uint lhs, uint2x2 rhs)
```

### Parameters

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

### Returns

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