package math
Package Members
- package algo
- package ops
- package stats
Statistical functions
Statistical functions
- quantile computation
Overview
The main functions in this package are used as follows
import scala.util.Random // Computation of quantiles example val computeQuantilesEvery10 = computeQuantiles(Seq(10,20,30,40,50,60,70,80,90))_ // partial evaluation (currying) val q = computeQuantilesEvery10(Seq.fill(123)(Random.nextDouble)) // Statistics example val data = Vector(1,2,3,4,5,6,7,8,9,10)s data.statistics // thanks to the implicit class
- package vector