Packages

  • package root
    Definition Classes
    root
  • package com
    Definition Classes
    root
  • package codedx
    Definition Classes
    com
  • package util
    Definition Classes
    codedx
  • object MathAggregations

    A few pseudo-collections for numbers to provide some basic aggregations (like sum and average).

    A few pseudo-collections for numbers to provide some basic aggregations (like sum and average). This is envisioned to be used with GroupedBy to prevent needing to collect all of the numbers and apply the operation after, at least for operations that can be aggregated on the fly.

    Definition Classes
    util
  • CommutativeNumericCompanion
  • Summed
c

com.codedx.util.MathAggregations

CommutativeNumericCompanion

sealed abstract class CommutativeNumericCompanion[X[_]] extends CommutativeNumericCompanionPlatform[X]

Linear Supertypes
CommutativeNumericCompanionPlatform[X], EvidenceIterableFactory[X, Numeric], Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CommutativeNumericCompanion
  2. CommutativeNumericCompanionPlatform
  3. EvidenceIterableFactory
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. class BuilderBase[T] extends Builder[T, X[T]]
    Attributes
    protected
    Definition Classes
    CommutativeNumericCompanionPlatform

Abstract Value Members

  1. abstract def apply[T](value: T): X[T]
    Attributes
    protected
  2. abstract def op[T]: (Numeric[T], T, T) => T
    Attributes
    protected

Concrete 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 apply[A](xs: A*)(implicit arg0: Numeric[A]): X[A]
    Definition Classes
    EvidenceIterableFactory
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def empty[A](implicit A: Numeric[A]): X[A]
    Definition Classes
    CommutativeNumericCompanionPlatform → EvidenceIterableFactory
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. implicit def evidenceIterableFactory[A](implicit arg0: Numeric[A]): Factory[A, X[A]]
    Definition Classes
    EvidenceIterableFactory
  11. def fill[A](n: Int)(elem: => A)(implicit arg0: Numeric[A]): X[A]
    Definition Classes
    EvidenceIterableFactory
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. def from[E](it: IterableOnce[E])(implicit A: Numeric[E]): X[E]
    Definition Classes
    CommutativeNumericCompanionPlatform → EvidenceIterableFactory
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def iterate[A](start: A, len: Int)(f: (A) => A)(implicit arg0: Numeric[A]): X[A]
    Definition Classes
    EvidenceIterableFactory
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def newBuilder[T](implicit num: Numeric[T]): Builder[T, X[T]]
    Definition Classes
    CommutativeNumericCompanion → EvidenceIterableFactory
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def tabulate[A](n: Int)(f: (Int) => A)(implicit arg0: Numeric[A]): X[A]
    Definition Classes
    EvidenceIterableFactory
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def unfold[A, S](init: S)(f: (S) => Option[(A, S)])(implicit arg0: Numeric[A]): X[A]
    Definition Classes
    EvidenceIterableFactory
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. def zero[T]: (Numeric[T]) => T
    Attributes
    protected

Inherited from EvidenceIterableFactory[X, Numeric]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped