Functions
clamp
- clamp(value: number, min: number, max: number): number
-
Parameters
-
value: number
-
min: number
-
max: number
Returns number
deg
-
Parameters
Returns number
deviation
- deviation(data: number[]): number
-
Parameters
Returns number
dist
- dist(x1: number, y1: number, x2: number, y2: number): number
-
Parameters
-
x1: number
-
y1: number
-
x2: number
-
y2: number
Returns number
fract
-
Parameters
Returns number
lerp
- lerp(start: number, end: number, t: number): number
-
Parameters
-
start: number
-
end: number
-
t: number
Returns number
map
- map(value: number, start1: number, end1: number, start2: number, end2: number): number
-
Parameters
-
value: number
-
start1: number
-
end1: number
-
start2: number
-
end2: number
Returns number
max
- max(data: number[]): number
-
Parameters
Returns number
mean
- mean(data: number[]): number
-
Parameters
Returns number
median
- median(data: number[]): number
-
Parameters
Returns number
min
- min(data: number[]): number
-
Parameters
Returns number
norm
- norm(value: number, start: number, end: number): number
-
Parameters
-
value: number
-
start: number
-
end: number
Returns number
rad
-
Parameters
Returns number
sum
- sum(data: number[]): number
-
Parameters
Returns number
variance
- variance(data: number[]): number
-
Parameters
Returns number