Skip to content

Commit

Permalink
Fix syntax highlighting and add CumulativeSum func
Browse files Browse the repository at this point in the history
  • Loading branch information
montanaflynn committed Jan 15, 2019
1 parent 43d8a88 commit 094ddfa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ If you have any suggestions, problems or bug reports please [create an issue](ht
## Installation

```
go get -u github.com/montanaflynn/stats
go get github.com/montanaflynn/stats
```

## Example Usage
Expand Down Expand Up @@ -63,11 +63,12 @@ var (
type Float64Data []float64

func LoadRawData(raw interface{}) (f Float64Data)
func AutoCorrelation(data Float64Data, lags int) (float64, error) {
func AutoCorrelation(data Float64Data, lags int) (float64, error)
func ChebyshevDistance(dataPointX, dataPointY []float64) (distance float64, err error)
func Correlation(data1, data2 Float64Data) (float64, error)
func Covariance(data1, data2 Float64Data) (float64, error)
func CovariancePopulation(data1, data2 Float64Data) (float64, error)
func CumulativeSum(input Float64Data) ([]float64, error)
func EuclideanDistance(dataPointX, dataPointY []float64) (distance float64, err error)
func GeometricMean(input Float64Data) (float64, error)
func HarmonicMean(input Float64Data) (float64, error)
Expand Down

0 comments on commit 094ddfa

Please sign in to comment.