# operator ==

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

## Definition

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

## operator ==(double2x3, double2x3)

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

```csharp
public static bool2x3 operator ==(double2x3 lhs, double2x3 rhs)
```

### Parameters

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

### Returns

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

## operator ==(double2x3, double)

Returns the result of a componentwise equality operation on a double2x3 matrix and a double value.

```csharp
public static bool2x3 operator ==(double2x3 lhs, double rhs)
```

### Parameters

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

### Returns

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

## operator ==(double, double2x3)

Returns the result of a componentwise equality operation on a double value and a double2x3 matrix.

```csharp
public static bool2x3 operator ==(double lhs, double2x3 rhs)
```

### Parameters

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

### Returns

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