Nodes ▸ Functions ▸ Unary ▸ Misc
Scale
Multiplies an array or dataset component by a constant factor, keeping its unit.
Wraps scale.
Inputs
| Port | Accepts | Required | Description |
|---|---|---|---|
x | primitive(array) dataset | required | The array or dataset the function is applied to |
Parameter ports
Added from the Parameters pane (⊕). While connected, each drives its parameter.
| Port | Accepts | Mode | Description |
|---|---|---|---|
factor | primitive(number) | opt-in drives factor | Drives the Factor parameter while connected |
Outputs
datasetprimitive(array)
Parameters
| Parameter | Kind | Default | Choices / range | Unit | Notes |
|---|---|---|---|---|---|
Targettarget | multichoice | none | values | values_r | values_theta | values_phi | scale_r | scale_theta | scale_phi | points | points_r | points_t | points_p | ||
Factorfactor | float | 1 | ⇄ port |