xod/math

License: AGPL-3.0

Nodes of XOD for basic mathematical operations
NodeDescription
abs
Outputs absolute value of an input number
acos
Calculates arc cosine.
asin
Calculates arc sine.
atan
Calculates arc tangent.
ceil
Rounds a number to a minimal integer that is greater than the number
clip
Clips an input value so that the value is always inside a [MIN, MAX] range.
cos
Calculates cosine of an angle.
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.
floor
Rounds a number to a maximal integer that is less than the number
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-clip
Projects a number from one range to another preserving ratio. Then clips a result to the target range.
map
Projects a number from one range to another preserving ratio
pow
Computes the power of `BASE` raised to the power exponent `EXP`
round
Rounds a number to nearest integer
sin
Calculates sine of an angle.
pi
Provides math 𝜋 (Pi) = 3.14159265359
sqrt
Computes the square root of an input value.
tan
Calculates tangent of an angle.
square
Computes the square (i.e. x²) of an input value.