Documentation
¶
Index ¶
- func AbsMax(input []float64) float64
- func CalculateFormula(formulaExpression string) float64
- func Decimal(value float64, prec int) float64
- func GetAvg(dataArray []float64) float64
- func GetMedian(dataArray []float64) float64
- func GetVariance(samples []float64) float64
- func MeanSqrt(data []float64) float64
- func MeanStandardDeviation(samples []float64) (float64, float64)
- func MinMax(input []float64) (float64, float64)
- func NameUUIDFromString(raw string) string
- func StandardDeviation(samples []float64) float64
- func UUIDFromString(raw string) string
- type Stack
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateFormula ¶
func GetVariance ¶
GetVariance calculates the unbiased population variance from the provided samples as an unsorted array. On a dataset of size N, it will use an N-1 normalizer (Bessel's correction). Returns NaN if data has less than two entries or if any entry is NaN. 方差 Translated from Math.Net Source code at https://github.com/mathnet/mathnet-numerics/blob/master/src/Numerics/Statistics/ArrayStatistics.cs
func MeanStandardDeviation ¶
func NameUUIDFromString ¶
func StandardDeviation ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.