Skip to content
Ubiquev1.0.4

Functions

f
centered(values: readonly number[]): number[]

Center in translated coordinates without rounding the mean back to the origin.

f
variance(
values: readonly number[],
flag: 0 | 1
): number

Shifted Welford accumulator: retain small variations around a large origin.