# operator >

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

## Definition

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

## operator >(double2, double2)

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

```csharp
public static bool2 operator >(double2 lhs, double2 rhs)
```

### Parameters

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

### Returns

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

## operator >(double2, double)

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

```csharp
public static bool2 operator >(double2 lhs, double rhs)
```

### Parameters

**** (\[double2]\(/engine/6000.5/script-reference/unity/mathematics/double2)): Left hand side double2 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                                     |
| ------------------------------------------------------------------- | ----------------------------------------------- |
| [bool2](/engine/6000.5/script-reference/unity/mathematics/bool2.md) | bool2 result of the componentwise greater than. |

## operator >(double, double2)

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

```csharp
public static bool2 operator >(double lhs, double2 rhs)
```

### Parameters

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

### Returns

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