Sum returns the total of all the numbers in the data
()
| 23 | |
| 24 | // Sum returns the total of all the numbers in the data |
| 25 | func (f Float64Data) Sum() (float64, error) { return Sum(f) } |
| 26 | |
| 27 | // CumulativeSum returns the cumulative sum of the data |
| 28 | func (f Float64Data) CumulativeSum() ([]float64, error) { return CumulativeSum(f) } |