Nodes ▸ Functions ▸ Calculus
Gradient
Computes the gradient of an array along an axis. On a grid the spacing comes from the axis scale.
Wraps gradient.
Inputs
| Port | Accepts | Required | Description |
|---|---|---|---|
x | primitive(array) dataset(grid) | required | The array or grid to operate on |
Outputs
datasetprimitive(array)
Parameters
| Parameter | Kind | Default | Choices / range | Unit | Notes |
|---|---|---|---|---|---|
Axisaxis | choice | none | r | theta | phi | 0 | 1 | 2 | 3 | 4 | 5 |
Used by
No stock template or group uses this node.