Module math

Module math 

Source
Expand description

Math and statistics utilities

Functionsยง

clamp
Clamp a value between min and max
mean
Calculate mean of a slice of numbers
median
Calculate median of a slice of numbers
normalize
Normalize values to 0-1 range
std_deviation
Calculate standard deviation