# implicit operator double2x2

> Implicitly converts a single double value to a double2x2 matrix by assigning it to every component.

## Definition

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

## implicit operator double2x2(double2x)

Implicitly converts a single double value to a double2x2 matrix by assigning it to every component.

```csharp
public static implicit operator double2x2(double v)
```

### Parameters

**** (\[double]\(https\://learn.microsoft.com/dotnet/api/system.double)): double to convert to double2x2

### Returns

| Type                                                                        | Description      |
| --------------------------------------------------------------------------- | ---------------- |
| [double2x2](/engine/6000.5/script-reference/unity/mathematics/double2x2.md) | Converted value. |

## implicit operator double2x2(double2x)

Implicitly converts a single int value to a double2x2 matrix by converting it to double and assigning it to every component.

```csharp
public static implicit operator double2x2(int v)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): int to convert to double2x2

### Returns

| Type                                                                        | Description      |
| --------------------------------------------------------------------------- | ---------------- |
| [double2x2](/engine/6000.5/script-reference/unity/mathematics/double2x2.md) | Converted value. |

## implicit operator double2x2(double2x)

Implicitly converts a int2x2 matrix to a double2x2 matrix by componentwise conversion.

```csharp
public static implicit operator double2x2(int2x2 v)
```

### Parameters

**** (\[int2x2]\(/engine/6000.5/script-reference/unity/mathematics/int2x2)): int2x2 to convert to double2x2

### Returns

| Type                                                                        | Description      |
| --------------------------------------------------------------------------- | ---------------- |
| [double2x2](/engine/6000.5/script-reference/unity/mathematics/double2x2.md) | Converted value. |

## implicit operator double2x2(double2x)

Implicitly converts a single uint value to a double2x2 matrix by converting it to double and assigning it to every component.

```csharp
public static implicit operator double2x2(uint v)
```

### Parameters

**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): uint to convert to double2x2

### Returns

| Type                                                                        | Description      |
| --------------------------------------------------------------------------- | ---------------- |
| [double2x2](/engine/6000.5/script-reference/unity/mathematics/double2x2.md) | Converted value. |

## implicit operator double2x2(double2x)

Implicitly converts a uint2x2 matrix to a double2x2 matrix by componentwise conversion.

```csharp
public static implicit operator double2x2(uint2x2 v)
```

### Parameters

**** (\[uint2x2]\(/engine/6000.5/script-reference/unity/mathematics/uint2x2)): uint2x2 to convert to double2x2

### Returns

| Type                                                                        | Description      |
| --------------------------------------------------------------------------- | ---------------- |
| [double2x2](/engine/6000.5/script-reference/unity/mathematics/double2x2.md) | Converted value. |

## implicit operator double2x2(double2x)

Implicitly converts a single float value to a double2x2 matrix by converting it to double and assigning it to every component.

```csharp
public static implicit operator double2x2(float v)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): float to convert to double2x2

### Returns

| Type                                                                        | Description      |
| --------------------------------------------------------------------------- | ---------------- |
| [double2x2](/engine/6000.5/script-reference/unity/mathematics/double2x2.md) | Converted value. |

## implicit operator double2x2(double2x)

Implicitly converts a float2x2 matrix to a double2x2 matrix by componentwise conversion.

```csharp
public static implicit operator double2x2(float2x2 v)
```

### Parameters

**** (\[float2x2]\(/engine/6000.5/script-reference/unity/mathematics/float2x2)): float2x2 to convert to double2x2

### Returns

| Type                                                                        | Description      |
| --------------------------------------------------------------------------- | ---------------- |
| [double2x2](/engine/6000.5/script-reference/unity/mathematics/double2x2.md) | Converted value. |
