trait BooleanIsRig extends CRig[Boolean]
- Alphabetic
- By Inheritance
- BooleanIsRig
- CRig
- MultiplicativeCMonoid
- MultiplicativeCSemigroup
- Rig
- MultiplicativeMonoid
- Semiring
- MultiplicativeSemigroup
- AdditiveMonoid
- AdditiveSemigroup
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
additive: Monoid[Boolean]
- Definition Classes
- AdditiveMonoid → AdditiveSemigroup
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isOne(a: Boolean)(implicit ev: Eq[Boolean]): Boolean
- Definition Classes
- MultiplicativeMonoid
-
def
isZero(a: Boolean)(implicit ev: Eq[Boolean]): Boolean
Tests if
ais zero.Tests if
ais zero.- Definition Classes
- AdditiveMonoid
-
def
multiplicative: CMonoid[Boolean]
- Definition Classes
- MultiplicativeCMonoid → MultiplicativeCSemigroup → MultiplicativeMonoid → MultiplicativeSemigroup
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
one: Boolean
- Definition Classes
- BooleanIsRig → MultiplicativeMonoid
-
def
plus(a: Boolean, b: Boolean): Boolean
- Definition Classes
- BooleanIsRig → AdditiveSemigroup
-
def
pow(a: Boolean, b: Int): Boolean
This is similar to
Semigroup#pow, except thata pow 0is defined to be the multiplicative identity.This is similar to
Semigroup#pow, except thata pow 0is defined to be the multiplicative identity.- Definition Classes
- BooleanIsRig → Rig → Semiring
-
def
prod(as: TraversableOnce[Boolean]): Boolean
Given a sequence of
as, sum them using the monoid and return the total.Given a sequence of
as, sum them using the monoid and return the total.- Definition Classes
- MultiplicativeMonoid
-
def
prodOption(as: TraversableOnce[Boolean]): Option[Boolean]
Given a sequence of
as, sum them using the semigroup and return the total.Given a sequence of
as, sum them using the semigroup and return the total.If the sequence is empty, returns None. Otherwise, returns Some(total).
- Definition Classes
- MultiplicativeSemigroup
-
def
prodn(a: Boolean, n: Int): Boolean
Return
amultiplied with itselfntimes.Return
amultiplied with itselfntimes.- Definition Classes
- MultiplicativeMonoid → MultiplicativeSemigroup
-
def
prodnAboveOne(a: Boolean, n: Int): Boolean
- Attributes
- protected
- Definition Classes
- MultiplicativeSemigroup
-
def
sum(as: TraversableOnce[Boolean]): Boolean
Given a sequence of
as, sum them using the monoid and return the total.Given a sequence of
as, sum them using the monoid and return the total.- Definition Classes
- AdditiveMonoid
-
def
sumOption(as: TraversableOnce[Boolean]): Option[Boolean]
Given a sequence of
as, sum them using the semigroup and return the total.Given a sequence of
as, sum them using the semigroup and return the total.If the sequence is empty, returns None. Otherwise, returns Some(total).
- Definition Classes
- AdditiveSemigroup
-
def
sumn(a: Boolean, n: Int): Boolean
Return
aadded with itselfntimes.Return
aadded with itselfntimes.- Definition Classes
- AdditiveMonoid → AdditiveSemigroup
-
def
sumnAboveOne(a: Boolean, n: Int): Boolean
- Attributes
- protected
- Definition Classes
- AdditiveSemigroup
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
times(a: Boolean, b: Boolean): Boolean
- Definition Classes
- BooleanIsRig → MultiplicativeSemigroup
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
zero: Boolean
- Definition Classes
- BooleanIsRig → AdditiveMonoid