Documentation ¶
Index ¶
- func AccGeometricMean[R num.RealNumber](q linq.Query[linq.Delta[R]]) linq.Query[R]
- func AccHarmonicMean[F constraints.Float](q linq.Query[linq.Delta[F]]) linq.Query[F]
- func AccMean[R num.RealNumber](q linq.Query[linq.Delta[R]]) linq.Query[R]
- func AccProduct[R num.RealNumber](q linq.Query[linq.Delta[R]]) linq.Query[R]
- func AccSum[R num.RealNumber](q linq.Query[linq.Delta[R]]) linq.Query[R]
- func GeometricMean[R num.RealNumber](q linq.Query[R]) linq.Maybe[R]
- func HarmonicMean[F constraints.Float](q linq.Query[F]) linq.Maybe[F]
- func Mean[R num.RealNumber](q linq.Query[R]) linq.Maybe[R]
- func Product[R num.Number](q linq.Query[R]) R
- func Sum[R num.Number](q linq.Query[R]) R
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccGeometricMean ¶
AccGeometricMean accumulates the geometric mean of the input values within a sliding window. Use the Slide... functions to construct a suitable input window.
func AccHarmonicMean ¶
AccHarmonicMean accumulates the harmonic mean of the input values within a sliding window. Use the Slide... functions to construct a suitable input window.
func AccMean ¶
AccMean accumulates the arithmetic mean of the input values within a sliding window. Use the Slide... functions to construct a suitable input window.
func AccProduct ¶
AccProduct accumulates the product of the input values within a sliding window. Use the Slide... functions to construct a suitable input window.
func AccSum ¶
AccSum accumulates the sum of the input values within a sliding window. Use the Slide... functions to construct a suitable input window.
func GeometricMean ¶
GeometricMean returns the geometric mean of the numbers in q or ok=false if q is empty.
func HarmonicMean ¶
HarmonicMean returns the harmonic mean of the numbers in q or ok = false if q is empty.
func Mean ¶
Mean returns the arithmetic mean of the numbers in q or ok = false if q is empty.
This function is equivalent to "github.com/linqgo/linq".Average, which is retained for parity with .Net's Enumerable class.
Types ¶
This section is empty.