c

algebra.instances

SetSemiring

class SetSemiring[A] extends Semiring[Set[A]]

Linear Supertypes
Semiring[Set[A]], MultiplicativeSemigroup[Set[A]], AdditiveCommutativeMonoid[Set[A]], AdditiveCommutativeSemigroup[Set[A]], AdditiveMonoid[Set[A]], AdditiveSemigroup[Set[A]], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SetSemiring
  2. Semiring
  3. MultiplicativeSemigroup
  4. AdditiveCommutativeMonoid
  5. AdditiveCommutativeSemigroup
  6. AdditiveMonoid
  7. AdditiveSemigroup
  8. Serializable
  9. Serializable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SetSemiring()

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: CommutativeMonoid[Set[A]]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def isZero(a: Set[A])(implicit ev: Eq[Set[A]]): Boolean

    Tests if a is zero.

    Tests if a is zero.

    Definition Classes
    AdditiveMonoid
  14. def multiplicative: Semigroup[Set[A]]
    Definition Classes
    MultiplicativeSemigroup
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def plus(x: Set[A], y: Set[A]): Set[A]
    Definition Classes
    SetSemiringAdditiveSemigroup
  19. def positivePow(a: Set[A], n: Int): Set[A]
    Attributes
    protected[this]
    Definition Classes
    MultiplicativeSemigroup
  20. def positiveSumN(a: Set[A], n: Int): Set[A]
    Attributes
    protected[this]
    Definition Classes
    AdditiveSemigroup
  21. def pow(a: Set[A], n: Int): Set[A]
    Definition Classes
    MultiplicativeSemigroup
  22. def sum(as: TraversableOnce[Set[A]]): Set[A]

    Given a sequence of as, compute the sum.

    Given a sequence of as, compute the sum.

    Definition Classes
    AdditiveMonoid
  23. def sumN(a: Set[A], n: Int): Set[A]
    Definition Classes
    AdditiveMonoidAdditiveSemigroup
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def times(x: Set[A], y: Set[A]): Set[A]
    Definition Classes
    SetSemiringMultiplicativeSemigroup
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. def tryProduct(as: TraversableOnce[Set[A]]): Option[Set[A]]

    Given a sequence of as, combine them and return the total.

    Given a sequence of as, combine them and return the total.

    If the sequence is empty, returns None. Otherwise, returns Some(total).

    Definition Classes
    MultiplicativeSemigroup
  28. def trySum(as: TraversableOnce[Set[A]]): Option[Set[A]]

    Given a sequence of as, combine them and return the total.

    Given a sequence of as, combine them and return the total.

    If the sequence is empty, returns None. Otherwise, returns Some(total).

    Definition Classes
    AdditiveMonoidAdditiveSemigroup
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  32. def zero: Set[A]
    Definition Classes
    SetSemiringAdditiveMonoid

Inherited from Semiring[Set[A]]

Inherited from MultiplicativeSemigroup[Set[A]]

Inherited from AdditiveCommutativeMonoid[Set[A]]

Inherited from AdditiveCommutativeSemigroup[Set[A]]

Inherited from AdditiveMonoid[Set[A]]

Inherited from AdditiveSemigroup[Set[A]]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped