## Divide(Complex, Complex) {#divide}

Divides *a* by *b*.

```csharp
public static Complex Divide(Complex a, Complex b)
```

| Parameter | Type | Description |
| --- | --- | --- |
| a | Complex | The a complex. |
| b | Complex | The b complex. |

### Return Value

The result of division.

### Exceptions

| exception | condition |
| --- | --- |
| DivideByZeroException | Can not divide by zero. |

### See Also

* struct [Complex](../)
* namespace [Aspose.Imaging.ImageFilters.ComplexUtils](../../complex/)
* assembly [Aspose.Imaging](../../../)

---

## Divide(Complex, double) {#divide_1}

Divides *a* by *s*.

```csharp
public static Complex Divide(Complex a, double s)
```

| Parameter | Type | Description |
| --- | --- | --- |
| a | Complex | The a complex. |
| s | Double | The s value. |

### Return Value

The result of division.

### Exceptions

| exception | condition |
| --- | --- |
| DivideByZeroException | Can not divide by zero. |

### See Also

* struct [Complex](../)
* namespace [Aspose.Imaging.ImageFilters.ComplexUtils](../../complex/)
* assembly [Aspose.Imaging](../../../)

---

## Divide(double, Complex) {#divide_2}

Divides *a* by *s*.

```csharp
public static Complex Divide(double s, Complex a)
```

| Parameter | Type | Description |
| --- | --- | --- |
| s | Double | The s value. |
| a | Complex | The a complex. |

### Return Value

The result of division.

### Exceptions

| exception | condition |
| --- | --- |
| DivideByZeroException | Can not divide by zero. |

### See Also

* struct [Complex](../)
* namespace [Aspose.Imaging.ImageFilters.ComplexUtils](../../complex/)
* assembly [Aspose.Imaging](../../../)

---

## Divide(Complex, Complex, ref Complex) {#divide_3}

Divides *a* by *b*.

```csharp
public static void Divide(Complex a, Complex b, ref Complex result)
```

| Parameter | Type | Description |
| --- | --- | --- |
| a | Complex | The a complex. |
| b | Complex | The b complex. |
| result | Complex& | The result. |

### Exceptions

| exception | condition |
| --- | --- |
| DivideByZeroException | Can not divide by zero. |

### See Also

* struct [Complex](../)
* namespace [Aspose.Imaging.ImageFilters.ComplexUtils](../../complex/)
* assembly [Aspose.Imaging](../../../)

---

## Divide(Complex, double, ref Complex) {#divide_4}

Divides *a* by *s*.

```csharp
public static void Divide(Complex a, double s, ref Complex result)
```

| Parameter | Type | Description |
| --- | --- | --- |
| a | Complex | The a complex. |
| s | Double | The s value. |
| result | Complex& | The result. |

### Exceptions

| exception | condition |
| --- | --- |
| DivideByZeroException | Can not divide by zero. |

### See Also

* struct [Complex](../)
* namespace [Aspose.Imaging.ImageFilters.ComplexUtils](../../complex/)
* assembly [Aspose.Imaging](../../../)

---

## Divide(double, Complex, ref Complex) {#divide_5}

Divides *s* by *a*.

```csharp
public static void Divide(double s, Complex a, ref Complex result)
```

| Parameter | Type | Description |
| --- | --- | --- |
| s | Double | The s value. |
| a | Complex | The a complex. |
| result | Complex& | The result. |

### Exceptions

| exception | condition |
| --- | --- |
| DivideByZeroException | Can not divide by zero. |

### See Also

* struct [Complex](../)
* namespace [Aspose.Imaging.ImageFilters.ComplexUtils](../../complex/)
* assembly [Aspose.Imaging](../../../)


