# operator &

> Returns the result of a componentwise bitwise and operation on two bool3x3 matrices.

## Definition

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

## operator &(bool3x3, bool3x3)

Returns the result of a componentwise bitwise and operation on two bool3x3 matrices.

```csharp
public static bool3x3 operator &(bool3x3 lhs, bool3x3 rhs)
```

### Parameters

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

### Returns

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

## operator &(bool3x3, bool)

Returns the result of a componentwise bitwise and operation on a bool3x3 matrix and a bool value.

```csharp
public static bool3x3 operator &(bool3x3 lhs, bool rhs)
```

### Parameters

**** (\[bool3x3]\(/engine/6000.5/script-reference/unity/mathematics/bool3x3)): Left hand side bool3x3 to use to compute componentwise bitwise and.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Right hand side bool to use to compute componentwise bitwise and.

### Returns

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

## operator &(bool, bool3x3)

Returns the result of a componentwise bitwise and operation on a bool value and a bool3x3 matrix.

```csharp
public static bool3x3 operator &(bool lhs, bool3x3 rhs)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Left hand side bool to use to compute componentwise bitwise and.**** (\[bool3x3]\(/engine/6000.5/script-reference/unity/mathematics/bool3x3)): Right hand side bool3x3 to use to compute componentwise bitwise and.

### Returns

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