Releases: montanaflynn/stats
Releases · montanaflynn/stats
v0.4.0
- Improve performance 07668e8
- Add Distance functions
func ChebyshevDistance(dataPointX, dataPointY []float64) (distance float64, err error) {}
func EuclideanDistance(dataPointX, dataPointY []float64) (distance float64, err error) {}
func ManhattanDistance(dataPointX, dataPointY []float64) (distance float64, err error) {}
func MinkowskiDistance(dataPointX, dataPointY []float64, lambda float64) (distance float64, err error) {}
- Add AutoCorrelation function
func AutoCorrelation(data Float64Data, lags int) (float64, error) {}
- Add CumulativeSum function
func CumulativeSum(input Float64Data) ([]float64, error) {}