Module math_utils

Source

Functionsยง

absmax
\brief Returns the absolute maximum value among the two inputs.
absmaxn
Returns absolute maximum among n-elements.
absmin
\brief Returns the absolute minimum value among the two inputs.
absminn
Returns absolute minimum among n-elements.
argmax2
argmax3
argmin2
argmin3
bilerp
Computes bilinear interpolation.
catmull_rom
Computes Catmull-Rom interpolation.
clamp
Returns the clamped value.
cubic
Returns the cubic of \p x.
degrees_to_radians
Converts degrees to radians.
get_barycentric
Gets the barycentric coordinate.
lerp
Computes linear interpolation.
max3
Returns the maximum value among three inputs.
maxn
Returns maximum among n-elements.
min3
Returns the minimum value among three inputs.
minn
Returns minimum among n-elements.
monotonic_catmull_rom
Computes monotonic Catmull-Rom interpolation.
radians_to_degrees
Converts radians to degrees.
sign
Returns the sign of the value.
similar
Returns true if \p x and \p y are similar.
square
Returns the square of \p x.
trilerp
Computes trilinear interpolation.