# operator >

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

## Definition

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

## operator >(double4, double4)

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

```csharp
public static bool4 operator >(double4 lhs, double4 rhs)
```

### Parameters

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

### Returns

| Type                                                                | Description                                     |
| ------------------------------------------------------------------- | ----------------------------------------------- |
| [bool4](/engine/6000.7/script-reference/unity/mathematics/bool4.md) | bool4 result of the componentwise greater than. |

## operator >(double4, double)

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

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

### Parameters

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

### Returns

| Type                                                                | Description                                     |
| ------------------------------------------------------------------- | ----------------------------------------------- |
| [bool4](/engine/6000.7/script-reference/unity/mathematics/bool4.md) | bool4 result of the componentwise greater than. |

## operator >(double, double4)

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

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

### Parameters

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

### Returns

| Type                                                                | Description                                     |
| ------------------------------------------------------------------- | ----------------------------------------------- |
| [bool4](/engine/6000.7/script-reference/unity/mathematics/bool4.md) | bool4 result of the componentwise greater than. |
