> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ntop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Divide

<CardGroup cols={2}>
  <Card title="Scalar, Scalar" href="#scalar-scalar" />

  <Card title="Scalar Field, Scalar Field" href="#scalar-field-scalar-field" />

  <Card title="Vector, Scalar" href="#vector-scalar" />

  <Card title="Vector Field, Scalar Field" href="#vector-field-scalar-field" />

  <Card title="2D Vector Field, Scalar Field, 5.31.0" href="#2d-vector-field-scalar-field-5310" />
</CardGroup>

***

## About this Block

**What it does:** The **Divide** block calculates the quotient of two inputs. It divides the **Numerator** by the **Denominator**. You can switch between different input types using the dropdown menu next to the block's title to switch overloads.

**Common uses:**

* Performing mathematical operations within a workflow.
* Scaling the magnitude of vectors or vector fields.

**Tips:**

* **Input Types:** This block supports several combinations:
  * **Scalar / Scalar:** Returns a single numerical value.
  * **Scalar Field / Scalar Field:** Returns a new scalar field based on the quotient of two input fields.
  * **Vector / Scalar:** Adjusts the magnitude of a vector by dividing its components by a scalar.
  * **Vector Field / Scalar Field:** Changes the magnitude of a vector field spatially using a scalar field.

***

<h2 id="scalar-scalar">
  Scalar, Scalar
</h2>

Divide a Scalar number by another Scalar number.

### Inputs

| Name      | Type                                                   | Description     |
| --------- | ------------------------------------------------------ | --------------- |
| Operand a | [Scalar](../../../../block-documentation/types/scalar) | First operand.  |
| Operand b | [Scalar](../../../../block-documentation/types/scalar) | Second operand. |

### Outputs

| Type                                                   |
| ------------------------------------------------------ |
| [Scalar](../../../../block-documentation/types/scalar) |

***

<h2 id="scalar-field-scalar-field">
  Scalar Field, Scalar Field
</h2>

Divide a Scalar Field by another Scalar Field.

### Inputs

| Name      | Type                                                               | Description     |
| --------- | ------------------------------------------------------------------ | --------------- |
| Operand a | [Scalar Field](../../../../block-documentation/types/scalar-field) | First operand.  |
| Operand b | [Scalar Field](../../../../block-documentation/types/scalar-field) | Second operand. |

### Outputs

| Type                                                               |
| ------------------------------------------------------------------ |
| [Scalar Field](../../../../block-documentation/types/scalar-field) |

***

<h2 id="vector-scalar">
  Vector, Scalar
</h2>

Divide a Vector by a Scalar number.

### Inputs

| Name      | Type                                                   | Description     |
| --------- | ------------------------------------------------------ | --------------- |
| Operand a | [Vector](../../../../block-documentation/types/vector) | First operand.  |
| Operand b | [Scalar](../../../../block-documentation/types/scalar) | Second operand. |

### Outputs

| Type                                                   |
| ------------------------------------------------------ |
| [Vector](../../../../block-documentation/types/vector) |

***

<h2 id="vector-field-scalar-field">
  Vector Field, Scalar Field
</h2>

Divide a Vector Field by a Scalar Field.

### Inputs

| Name      | Type                                                               | Description     |
| --------- | ------------------------------------------------------------------ | --------------- |
| Operand a | [Vector Field](../../../../block-documentation/types/vector-field) | First operand.  |
| Operand b | [Scalar Field](../../../../block-documentation/types/scalar-field) | Second operand. |

### Outputs

| Type                                                               |
| ------------------------------------------------------------------ |
| [Vector Field](../../../../block-documentation/types/vector-field) |

***

<h2 id="2d-vector-field-scalar-field-5310">
  2D Vector Field, Scalar Field, 5.31.0
</h2>

Divide a Vector Field by a Scalar Field.

### Inputs

| Name      | Type                                                                     | Description     |
| --------- | ------------------------------------------------------------------------ | --------------- |
| Operand a | [2D Vector Field](../../../../block-documentation/types/2d-vector-field) | First operand.  |
| Operand b | [Scalar Field](../../../../block-documentation/types/scalar-field)       | Second operand. |

### Outputs

| Type                                                                     |
| ------------------------------------------------------------------------ |
| [2D Vector Field](../../../../block-documentation/types/2d-vector-field) |
