Module math

Source
Expand description

Basic math operations such as arithmetic and interpolation.

Structsยง

Add
Operation to add two values -> a+b
Divide
Operation to divide a value with another -> a/b.
LinearInterpolation
Operation to perform a linear interpolation between two values -> a + t*(b-a).
Multiply
Operation to multiply two values -> a*b
Subtract
Operation to subtract a value from another -> a-b.