# operator *

> Returns the result of a componentwise multiplication operation on two double4 vectors.

## Definition

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

## operator \*(double4, double4)

Returns the result of a componentwise multiplication operation on two double4 vectors.

```csharp
public static double4 operator *(double4 lhs, double4 rhs)
```

### Parameters

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

### Returns

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

## operator \*(double4, double)

Returns the result of a componentwise multiplication operation on a double4 vector and a double value.

```csharp
public static double4 operator *(double4 lhs, double rhs)
```

### Parameters

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

### Returns

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

## operator \*(double, double4)

Returns the result of a componentwise multiplication operation on a double value and a double4 vector.

```csharp
public static double4 operator *(double lhs, double4 rhs)
```

### Parameters

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

### Returns

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