# operator &

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

## Definition

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

## operator &(uint4x4, uint4x4)

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

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

### Parameters

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

### Returns

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

## operator &(uint4x4, uint)

Returns the result of a componentwise bitwise and operation on a uint4x4 matrix and a uint value.

```csharp
public static uint4x4 operator &(uint4x4 lhs, uint rhs)
```

### Parameters

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

### Returns

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

## operator &(uint, uint4x4)

Returns the result of a componentwise bitwise and operation on a uint value and a uint4x4 matrix.

```csharp
public static uint4x4 operator &(uint lhs, uint4x4 rhs)
```

### Parameters

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

### Returns

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