xod/math@0.37.3

License: AGPL-3.0

Nodes of XOD for basic mathematical operations
NodeDescription
abs
Outputs absolute value of an input number
acos
Calculates arc cosine.
atan
Calculates arc tangent.
ceil
Rounds a number to a minimal integer that is greater than the number
asin
Calculates arc sine.
cos
Calculates cosine of an angle.
clip
Clips an input value so that the value is always inside a [MIN, MAX] range.
cube
Computes the cube (i.e. x³) of an input value.
discretize
Rounds input `X` up to the first threshold `T0`, `T1`, ..., `T𝑛` greater or equal to the `X`. If `X` is even greater than the last threshold, the value is round down to it.
is-finite
Determines if the given number has a finite value, i.e., it is normal, subnormal, or zero, but not infinite or NaN
log-10
Computes logarithm of a number to base 10.
log-bx
Computes logarithm of `X` to base `B`.
log-e
Computes natural logarithm of a number.
map
Projects a number from one range to another preserving ratio
floor
Rounds a number to a maximal integer that is less than the number
map-clip
Projects a number from one range to another preserving ratio. Then clips a result to the target range.
min
Outputs the smallest of provided numbers
is-nan
Determines if the given number is a NaN value.
pi
Provides math 𝜋 (Pi) = 3.14159265359
pow
Computes the power of `BASE` raised to the power exponent `EXP`
max
Outputs the largest of provided numbers
sqrt
Computes the square root of an input value.
sin
Calculates sine of an angle.
square
Computes the square (i.e. x²) of an input value.
tan
Calculates tangent of an angle.
round
Rounds a number to nearest integer