Math.Average

trait Average[A]

Given instance of Math.Average for a particular type, enables this type to participate in calculating average value for streamed instances.

By default Double, Float and opaque numericals of Double and Float allow averaging.

Source
Average.scala
class java.lang.Object
trait scala.Matchable
class Any