Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrNegativeCount = errors.New("negative sample count")
Error for a negative number of samples
Functions ¶
func Linspace ¶
n evenly spaced values from start towards stop, the last one exactly stop when endpoint is set and one step short of it otherwise
func MovingAverage ¶
Each value replaced by the mean of the width values centred on it, the earlier side taking the extra one for an even width and positions past either end counting as zero, a NaN or infinity reaching only the means whose window holds it; as long as values, a copy for a width below two
func Percentile ¶
Value p percent of the way through the sorted values, interpolated linearly between the two nearest ranks with p clamped to 0..100; NaN for no values, a NaN p or a NaN among the values
Types ¶
This section is empty.