SetBoolRng

class SetBoolRng[A] extends BoolRng[Set[A]]
trait BoolRng[Set[A]]
trait CommutativeRng[Set[A]]
trait CommutativeSemiring[Set[A]]
trait Rng[Set[A]]
trait AdditiveGroup[Set[A]]
trait Semiring[Set[A]]
trait AdditiveMonoid[Set[A]]
trait AdditiveSemigroup[Set[A]]
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

def plus(x: Set[A], y: Set[A]): Set[A]
def times(x: Set[A], y: Set[A]): Set[A]
def zero: Set[A]

Inherited methods

def isZero(a: Set[A])(ev: Eq[Set[A]]): Boolean

Tests if a is zero.

Tests if a is zero.

Inherited from
AdditiveMonoid
def minus(x: Set[A], y: Set[A]): Set[A]
Inherited from
AdditiveGroup
override def multiplicative: CommutativeSemigroup[Set[A]]
final override def negate(x: Set[A]): Set[A]
Definition Classes
Inherited from
BoolRng
def pow(a: Set[A], n: Int): Set[A]
def sum(as: IterableOnce[Set[A]]): Set[A]

Given a sequence of as, compute the sum.

Given a sequence of as, compute the sum.

Inherited from
AdditiveMonoid
override def sumN(a: Set[A], n: Int): Set[A]
Definition Classes
Inherited from
AdditiveGroup
def tryProduct(as: IterableOnce[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).

Inherited from
MultiplicativeSemigroup
override def trySum(as: IterableOnce[Set[A]]): Option[Set[A]]
Definition Classes
Inherited from
AdditiveMonoid