Packages

object Moments extends Serializable

Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Moments
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val aggregator: MomentsAggregator.type
  5. def apply(m0: Long, m1: Double, m2: Double, m3: Double, m4: Double): Moments

    This it the legacy apply when count was a Long

  6. def apply[V](m0: Long, m1: V, m2: V, m3: V, m4: V)(implicit num: Numeric[V]): Moments
  7. def apply[V](value: V)(implicit arg0: Numeric[V], num: Numeric[V]): Moments

    Create a Moments object given a single value.

    Create a Moments object given a single value. This is useful for initializing moment calculations at the start of a stream.

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getCombinedMeanDouble(weightN: Double, an: Double, weightK: Double, ak: Double): Double

    Given two streams of doubles (weightN, an) and (weightK, ak) of form (weighted count, mean), calculates the mean of the combined stream.

    Given two streams of doubles (weightN, an) and (weightK, ak) of form (weighted count, mean), calculates the mean of the combined stream.

    Uses a more stable online algorithm which should be suitable for large numbers of records similar to: http://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Parallel_algorithm

    This differs from the implementation in MomentsGroup.scala only in that here, the counts are weighted, and are thus doubles instead of longs

  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. implicit val momentsMonoid: Monoid[Moments] with CommutativeMonoid[Moments]
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def numericAggregator[N](implicit num: Numeric[N]): MonoidAggregator[N, Moments, Moments]
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def unapply(m: Moments): Option[(Long, Double, Double, Double, Double)]

    This it the legacy unapply when count was a Long

  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def group: Group[Moments] with CommutativeGroup[Moments]
    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.8) use monoid[Moments], this isn't lawful for negate

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped