Math f(x)

Evaluates a math expression written in terms of the single variable x, which carries the input value.

A boolean input reads as 0 or 1, and a boolean output requires the expression to produce exactly 0 or 1, since any other number is not a truth value.

Interface

Inputs

ParameterDetailsPossible Types
Value

The value passed into the expression as x.

Primary Input

bool[]
bool
f32[]
f32
f64[]
f64
f(x) =

The expression evaluated for the input value, in terms of x, such as 4sin(x/2).

Default: x

String[]
String

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

f64
f64[]
f32
f32[]
bool
bool[]