Documentation ¶
Index ¶
- func Cover(v []float64, lev float64) (float64, float64)
- func Factorial(n int64) int64
- func FactorialBig(n int64) *big.Int
- func Gini(in []float64) float64
- func IsPrime(n uint64) bool
- func Normal(x float64) float64
- func NormalArea(x float64) float64
- func NormalArea_(x float64) float64
- func Pearson(a, b []float64) (float64, error)
- func Sqrt(n uint64) uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FactorialBig ¶
func Gini ¶
Gini returns the Gini coefficient. It is a measure of inequality in a frequency distribution. 0 indicates perfect equality, 1 maximum inequality.
func Normal ¶
Normal returns the y value at the given x of the standard unit normal distribution (mean = 0 and standard deviation = 1).
func NormalArea ¶
func NormalArea_ ¶
NormalArea calculates the area below the normal curve.
den = 2^n*n!*(2*n+1)
x - x(3,5,7...) / den
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.