BoolRngFromGenBool

algebra.lattice.BoolRngFromGenBool
class BoolRngFromGenBool[A](orig: GenBool[A]) extends BoolRng[A]

Attributes

Source:
GenBool.scala
Graph
Supertypes
Known subtypes

Members list

Concise view

Value members

Concrete methods

def plus(x: A, y: A): A

Attributes

Source:
GenBool.scala
def times(x: A, y: A): A

Attributes

Source:
GenBool.scala
def zero: A

Attributes

Source:
GenBool.scala

Inherited methods

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

Tests if a is zero.

Tests if a is zero.

Attributes

Inherited from:
AdditiveMonoid
Source:
Additive.scala
def minus(x: A, y: A): A

Attributes

Inherited from:
AdditiveGroup
Source:
Additive.scala
final override def negate(x: A): A

Attributes

Definition Classes
Inherited from:
BoolRng
Source:
BoolRng.scala
def pow(a: A, n: Int): A

Attributes

Inherited from:
MultiplicativeSemigroup
Source:
Multiplicative.scala
def sum(as: IterableOnce[A]): A

Given a sequence of as, compute the sum.

Given a sequence of as, compute the sum.

Attributes

Inherited from:
AdditiveMonoid
Source:
Additive.scala
override def sumN(a: A, n: Int): A

Attributes

Definition Classes
Inherited from:
AdditiveGroup
Source:
Additive.scala

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).

Attributes

Inherited from:
MultiplicativeSemigroup
Source:
Multiplicative.scala
override def trySum(as: IterableOnce[A]): Option[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).

Attributes

Definition Classes
Inherited from:
AdditiveMonoid
Source:
Additive.scala