Packages

o

com.scalarl.value

WeightedAverageGroup

object WeightedAverageGroup extends Group[WeightedAverage] with CommutativeGroup[WeightedAverage]

Group implementation for WeightedAverage.

Source
WeightedAverage.scala
Linear Supertypes
CommutativeGroup[WeightedAverage], CommutativeMonoid[WeightedAverage], CommutativeSemigroup[WeightedAverage], Group[WeightedAverage], AdditiveGroup[WeightedAverage], Monoid[WeightedAverage], AdditiveMonoid[WeightedAverage], Semigroup[WeightedAverage], AdditiveSemigroup[WeightedAverage], Group[WeightedAverage], Monoid[WeightedAverage], Semigroup[WeightedAverage], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WeightedAverageGroup
  2. CommutativeGroup
  3. CommutativeMonoid
  4. CommutativeSemigroup
  5. Group
  6. AdditiveGroup
  7. Monoid
  8. AdditiveMonoid
  9. Semigroup
  10. AdditiveSemigroup
  11. Group
  12. Monoid
  13. Semigroup
  14. Serializable
  15. Serializable
  16. AnyRef
  17. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def additive: Group[WeightedAverage]
    Definition Classes
    Group → AdditiveGroup → Monoid → AdditiveMonoid → Semigroup → AdditiveSemigroup
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def assertNotZero(v: WeightedAverage): Unit
    Definition Classes
    Monoid
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def combine(l: WeightedAverage, r: WeightedAverage): WeightedAverage
    Definition Classes
    Semigroup → Semigroup
  9. def combineAll(t: TraversableOnce[WeightedAverage]): WeightedAverage
    Definition Classes
    Monoid → Monoid
  10. def combineAllOption(iter: TraversableOnce[WeightedAverage]): Option[WeightedAverage]
    Definition Classes
    Semigroup → Semigroup
  11. def combineN(a: WeightedAverage, n: Int): WeightedAverage
    Definition Classes
    Group → Monoid → Semigroup
  12. def empty: WeightedAverage
    Definition Classes
    Monoid → Monoid
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def inverse(v: WeightedAverage): WeightedAverage
    Definition Classes
    Group → Group
  19. def isEmpty(a: WeightedAverage)(implicit ev: Eq[WeightedAverage]): Boolean
    Definition Classes
    Monoid
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isNonZero(av: WeightedAverage): Boolean
    Definition Classes
    WeightedAverageGroup → Monoid
  22. def isZero(a: WeightedAverage)(implicit ev: Eq[WeightedAverage]): Boolean
    Definition Classes
    AdditiveMonoid
  23. def minus(x: WeightedAverage, y: WeightedAverage): WeightedAverage
    Definition Classes
    AdditiveGroup
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def negate(av: WeightedAverage): WeightedAverage
    Definition Classes
    WeightedAverageGroup → AdditiveGroup
  26. def nonZeroOption(v: WeightedAverage): Option[WeightedAverage]
    Definition Classes
    Monoid
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. def plus(l: WeightedAverage, r: WeightedAverage): WeightedAverage

    Definition Classes
    WeightedAverageGroup → AdditiveSemigroup
    See also

    WeightedAverage!.+(r:* for the implementation.

  30. def positiveSumN(a: WeightedAverage, n: Int): WeightedAverage
    Attributes
    protected[this]
    Definition Classes
    AdditiveSemigroup
  31. def remove(l: WeightedAverage, r: WeightedAverage): WeightedAverage
    Definition Classes
    Group → Group
  32. def repeatedCombineN(a: WeightedAverage, n: Int): WeightedAverage
    Attributes
    protected[this]
    Definition Classes
    Semigroup
  33. def sum(vs: TraversableOnce[WeightedAverage]): WeightedAverage
    Definition Classes
    Monoid → AdditiveMonoid
  34. def sumN(a: WeightedAverage, n: Int): WeightedAverage
    Definition Classes
    AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
  35. def sumOption(iter: TraversableOnce[WeightedAverage]): Option[WeightedAverage]

    Optimized implementation of plus.

    Optimized implementation of plus. Uses internal mutation to combine the supplied WeightedAverage instances without creating intermediate objects.

    Definition Classes
    WeightedAverageGroup → Semigroup
  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. def trySum(as: TraversableOnce[WeightedAverage]): Option[WeightedAverage]
    Definition Classes
    AdditiveMonoid → AdditiveSemigroup
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  42. val zero: WeightedAverage
    Definition Classes
    WeightedAverageGroup → AdditiveMonoid

Inherited from CommutativeGroup[WeightedAverage]

Inherited from CommutativeMonoid[WeightedAverage]

Inherited from CommutativeSemigroup[WeightedAverage]

Inherited from Group[WeightedAverage]

Inherited from AdditiveGroup[WeightedAverage]

Inherited from Monoid[WeightedAverage]

Inherited from AdditiveMonoid[WeightedAverage]

Inherited from Semigroup[WeightedAverage]

Inherited from AdditiveSemigroup[WeightedAverage]

Inherited from Group[WeightedAverage]

Inherited from Monoid[WeightedAverage]

Inherited from Semigroup[WeightedAverage]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped