trait BigIntegerIsEuclideanRing extends EuclideanRing[BigInteger]
- Alphabetic
- By Inheritance
- BigIntegerIsEuclideanRing
- EuclideanRing
- CRing
- MultiplicativeCMonoid
- MultiplicativeCSemigroup
- Ring
- Rng
- AdditiveAbGroup
- AdditiveCMonoid
- AdditiveCSemigroup
- AdditiveGroup
- 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: AbGroup[BigInteger]
- Definition Classes
- AdditiveAbGroup → AdditiveCMonoid → AdditiveCSemigroup → AdditiveGroup → 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
-
final
def
euclid(a: BigInteger, b: BigInteger)(implicit eq: Eq[BigInteger]): BigInteger
- Attributes
- protected[this]
- Definition Classes
- EuclideanRing
- Annotations
- @tailrec()
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromInt(n: Int): BigInteger
Defined to be equivalent to
additive.sumn(one, n).Defined to be equivalent to
additive.sumn(one, n). That is,nrepeated summations of this ring'sone, or-oneifnis negative.- Definition Classes
- BigIntegerIsEuclideanRing → Ring
-
def
gcd(a: BigInteger, b: BigInteger): BigInteger
- Definition Classes
- BigIntegerIsEuclideanRing → EuclideanRing
-
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: BigInteger)(implicit ev: Eq[BigInteger]): Boolean
- Definition Classes
- MultiplicativeMonoid
-
def
isZero(a: BigInteger)(implicit ev: Eq[BigInteger]): Boolean
Tests if
ais zero.Tests if
ais zero.- Definition Classes
- AdditiveMonoid
-
def
lcm(a: BigInteger, b: BigInteger): BigInteger
- Definition Classes
- EuclideanRing
-
def
minus(a: BigInteger, b: BigInteger): BigInteger
- Definition Classes
- BigIntegerIsEuclideanRing → AdditiveGroup
-
def
mod(a: BigInteger, b: BigInteger): BigInteger
- Definition Classes
- BigIntegerIsEuclideanRing → EuclideanRing
-
def
multiplicative: CMonoid[BigInteger]
- Definition Classes
- MultiplicativeCMonoid → MultiplicativeCSemigroup → MultiplicativeMonoid → MultiplicativeSemigroup
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
negate(a: BigInteger): BigInteger
- Definition Classes
- BigIntegerIsEuclideanRing → AdditiveGroup
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
one: BigInteger
- Definition Classes
- BigIntegerIsEuclideanRing → MultiplicativeMonoid
-
def
plus(a: BigInteger, b: BigInteger): BigInteger
- Definition Classes
- BigIntegerIsEuclideanRing → AdditiveSemigroup
-
def
pow(a: BigInteger, b: Int): BigInteger
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
- BigIntegerIsEuclideanRing → Rig → Semiring
-
def
prod(as: TraversableOnce[BigInteger]): BigInteger
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[BigInteger]): Option[BigInteger]
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: BigInteger, n: Int): BigInteger
Return
amultiplied with itselfntimes.Return
amultiplied with itselfntimes.- Definition Classes
- MultiplicativeMonoid → MultiplicativeSemigroup
-
def
prodnAboveOne(a: BigInteger, n: Int): BigInteger
- Attributes
- protected
- Definition Classes
- MultiplicativeSemigroup
-
def
quot(a: BigInteger, b: BigInteger): BigInteger
- Definition Classes
- BigIntegerIsEuclideanRing → EuclideanRing
-
def
quotmod(a: BigInteger, b: BigInteger): (BigInteger, BigInteger)
- Definition Classes
- BigIntegerIsEuclideanRing → EuclideanRing
-
def
sum(as: TraversableOnce[BigInteger]): BigInteger
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[BigInteger]): Option[BigInteger]
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: BigInteger, n: Int): BigInteger
Return
aadded with itselfntimes.Return
aadded with itselfntimes.- Definition Classes
- AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
-
def
sumnAboveOne(a: BigInteger, n: Int): BigInteger
- Attributes
- protected
- Definition Classes
- AdditiveSemigroup
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
times(a: BigInteger, b: BigInteger): BigInteger
- Definition Classes
- BigIntegerIsEuclideanRing → 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: BigInteger
- Definition Classes
- BigIntegerIsEuclideanRing → AdditiveMonoid