Documentation ¶
Index ¶
- Constants
- func Max(numbers []float64) (iMax int, max float64)
- func Mean(numbers []float64) float64
- func Median(numbers []float64, sort bool) float64
- func Min(numbers []float64) (iMin int, min float64)
- func Mode(numbers []float64) (mode float64, r int)
- func Range(numbers []float64) float64
- func Repeats(numbers []float64) (r map[float64]int)
- func Singular(number float64) bool
- func Sort(numbers []float64) []float64
- func StandardDeviation(numbers []float64) float64
- func Total(numbers []float64) (total float64)
- func Variance(numbers []float64) (variance float64)
Constants ¶
View Source
const ( // MaxFloat64 is the biggest number that can be used in Go using the float64 type. MaxFloat64 = math.MaxFloat64 // MinFloat64 is the smallest number that can be used in Go using the float64 type. MinFloat64 = -(MaxFloat64) )
Variables ¶
This section is empty.
Functions ¶
func StandardDeviation ¶
StandardDeviation of the float64 numbers.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.