Nodes ▸ Functions ▸ Unary ▸ Misc

Heaviside

Returns the Heaviside step function of x: 0 for negative values, 1 for positive values and h0 where x is zero.

Wraps heaviside.

Heavisidex

Inputs

PortAcceptsRequiredDescription
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.

PortAcceptsModeDescription
h0 primitive(number) opt-in
drives h0
Drives the H0 parameter while connected

Outputs

datasetprimitive(array)

Parameters

ParameterKindDefaultChoices / rangeUnitNotes
Target
target
multichoice none values | values_r | values_theta | values_phi | scale_r | scale_theta | scale_phi | points | points_r | points_t | points_p
H0
h0
float 0.5 ⇄ port

Used by

No stock template or group uses this node.