module Statistics
Defined in:
gsl/base/statistics.crgsl/maths/statistics/distributions.cr
Class Method Summary
- .cumulative_sum(data : Array(Float64)) : Array(Float64)
-
.linspace(s : Float64, e : Float64, num : Int) : Array(Float64)
returns an equally space interval starting from s and ending in e (inclusive)
- .mean(data : Array(Float64)) : Float64
- .normalise(data : Array(Float64)) : Array(Float64)
Class Method Detail
returns an equally space interval starting from s and ending in e (inclusive)
linspace(1.0, 10.0, 10) # => [1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0]