# operator ++(double2)

> Returns the result of a componentwise increment operation on a double2 vector.

## Definition

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

```csharp
public static double2 operator ++(double2 val)
```

### Parameters

**** (\[double2]\(/engine/6000.6/script-reference/unity/mathematics/double2)): Value to use when computing the componentwise increment.

### Returns

| Type                                                                    | Description                                    |
| ----------------------------------------------------------------------- | ---------------------------------------------- |
| [double2](/engine/6000.6/script-reference/unity/mathematics/double2.md) | double2 result of the componentwise increment. |
