c

algebra.instances

SetSemiring

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

Source
set.scala
Linear Supertypes
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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def isZero(a: Set[A])(implicit ev: Eq[Set[A]]): Boolean

    Tests if a is zero.

    Tests if a is zero.

    Definition Classes
    AdditiveMonoid
  13. def multiplicative: Semigroup[Set[A]]
    Definition Classes
    MultiplicativeSemigroup
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def plus(x: Set[A], y: Set[A]): Set[A]
    Definition Classes
    SetSemiringAdditiveSemigroup
  18. def positivePow(a: Set[A], n: Int): Set[A]
    Attributes
    protected[this]
    Definition Classes
    MultiplicativeSemigroup
  19. def positiveSumN(a: Set[A], n: Int): Set[A]
    Attributes
    protected[this]
    Definition Classes
    AdditiveSemigroup
  20. def pow(a: Set[A], n: Int): Set[A]
    Definition Classes
    MultiplicativeSemigroup
  21. 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
  22. def sumN(a: Set[A], n: Int): Set[A]
    Definition Classes
    AdditiveMonoidAdditiveSemigroup
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def times(x: Set[A], y: Set[A]): Set[A]
    Definition Classes
    SetSemiringMultiplicativeSemigroup
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. 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
  27. 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
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def zero: Set[A]
    Definition Classes
    SetSemiringAdditiveMonoid

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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