com.twitter.algebird

Group

trait Group[T] extends Monoid[T]

Group: this is a monoid that also has subtraction (and negation): So, you can do (a-b), or -a (which is equal to 0 - a).

Annotations
@implicitNotFound( ... )
Linear Supertypes
Monoid[T], Semigroup[T], Serializable, AnyRef, Any
Known Subclasses
AbstractField, AbstractGroup, AbstractRing, AdjoinedUnitRing, AveragedGroup, BigIntRing, BooleanField, ConstantGroup, DoubleField, EventuallyGroup, EventuallyRing, Field, FloatField, GenericMapRing, IndexedSeqGroup, IndexedSeqRing, IntRing, JBoolField, JDoubleField, JFloatField, JIntRing, JLongRing, JShortRing, LongRing, MapGroup, MapRing, MinPlusSemiring, MomentsGroup, MonadField, MonadGroup, MonadRing, NullGroup, NumericRing, OptionGroup, Product10Group, Product10Ring, Product11Group, Product11Ring, Product12Group, Product12Ring, Product13Group, Product13Ring, Product14Group, Product14Ring, Product15Group, Product15Ring, Product16Group, Product16Ring, Product17Group, Product17Ring, Product18Group, Product18Ring, Product19Group, Product19Ring, Product20Group, Product20Ring, Product21Group, Product21Ring, Product22Group, Product22Ring, Product2Group, Product2Ring, Product3Group, Product3Ring, Product4Group, Product4Ring, Product5Group, Product5Ring, Product6Group, Product6Ring, Product7Group, Product7Ring, Product8Group, Product8Ring, Product9Group, Product9Ring, Ring, ScMapGroup, ScMapRing, ShortRing, Tuple10Group, Tuple10Ring, Tuple11Group, Tuple11Ring, Tuple12Group, Tuple12Ring, Tuple13Group, Tuple13Ring, Tuple14Group, Tuple14Ring, Tuple15Group, Tuple15Ring, Tuple16Group, Tuple16Ring, Tuple17Group, Tuple17Ring, Tuple18Group, Tuple18Ring, Tuple19Group, Tuple19Ring, Tuple20Group, Tuple20Ring, Tuple21Group, Tuple21Ring, Tuple22Group, Tuple22Ring, Tuple2Group, Tuple2Ring, Tuple3Group, Tuple3Ring, Tuple4Group, Tuple4Ring, Tuple5Group, Tuple5Ring, Tuple6Group, Tuple6Ring, Tuple7Group, Tuple7Ring, Tuple8Group, Tuple8Ring, Tuple9Group, Tuple9Ring, UnitGroup
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Group
  2. Monoid
  3. Semigroup
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def plus(l: T, r: T): T

    Definition Classes
    Semigroup
  2. abstract def zero: T

    Definition Classes
    Monoid

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def assertNotZero(v: T): Unit

    Definition Classes
    Monoid
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. def isNonZero(v: T): Boolean

    Definition Classes
    Monoid
  16. def minus(l: T, r: T): T

  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def negate(v: T): T

  19. def nonZeroOption(v: T): Option[T]

    Definition Classes
    Monoid
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. def sum(vs: TraversableOnce[T]): T

    Definition Classes
    Monoid
  23. def sumOption(iter: TraversableOnce[T]): Option[T]

    override this if there is a faster way to do this sum than reduceLeftOption on plus

    override this if there is a faster way to do this sum than reduceLeftOption on plus

    Definition Classes
    Semigroup
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Monoid[T]

Inherited from Semigroup[T]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped