# operator ==

> Returns the result of a componentwise equality operation on two int3x3 matrices.

## Definition

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

## operator ==(int3x3, int3x3)

Returns the result of a componentwise equality operation on two int3x3 matrices.

```csharp
public static bool3x3 operator ==(int3x3 lhs, int3x3 rhs)
```

### Parameters

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

### Returns

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

## operator ==(int3x3, int)

Returns the result of a componentwise equality operation on an int3x3 matrix and an int value.

```csharp
public static bool3x3 operator ==(int3x3 lhs, int rhs)
```

### Parameters

**** (\[int3x3]\(/engine/6000.6/script-reference/unity/mathematics/int3x3)): Left hand side int3x3 to use to compute componentwise equality.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Right hand side int to use to compute componentwise equality.

### Returns

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

## operator ==(int, int3x3)

Returns the result of a componentwise equality operation on an int value and an int3x3 matrix.

```csharp
public static bool3x3 operator ==(int lhs, int3x3 rhs)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Left hand side int to use to compute componentwise equality.**** (\[int3x3]\(/engine/6000.6/script-reference/unity/mathematics/int3x3)): Right hand side int3x3 to use to compute componentwise equality.

### Returns

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