std
Calculates standard deviation as the square root of variance(values, options).
API Reference
Signature
Parameters
Returns
Returns Arith.variance(values, options).sqrt().
Throws
- Throws if
valuesis not a non-empty array. - Throws if any value is non-finite.
- Throws if
sample: trueis used with fewer than two values. - Throws if
options.sampleis not boolean when provided.
Agent Contract
Agent Notes
- Use
std, notstandardDeviation. - Population standard deviation is the default.