trait BigIntIsEuclideanRing extends EuclideanRing[BigInt]
- Alphabetic
- By Inheritance
- BigIntIsEuclideanRing
- 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[BigInt]
- 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: BigInt, b: BigInt)(implicit eq: Eq[BigInt]): BigInt
- 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): BigInt
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
- BigIntIsEuclideanRing → Ring
-
def
gcd(a: BigInt, b: BigInt): BigInt
- Definition Classes
- BigIntIsEuclideanRing → 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: BigInt)(implicit ev: Eq[BigInt]): Boolean
- Definition Classes
- MultiplicativeMonoid
-
def
isZero(a: BigInt)(implicit ev: Eq[BigInt]): Boolean
Tests if
ais zero.Tests if
ais zero.- Definition Classes
- AdditiveMonoid
-
def
lcm(a: BigInt, b: BigInt): BigInt
- Definition Classes
- EuclideanRing
-
def
minus(a: BigInt, b: BigInt): BigInt
- Definition Classes
- BigIntIsEuclideanRing → AdditiveGroup
-
def
mod(a: BigInt, b: BigInt): BigInt
- Definition Classes
- BigIntIsEuclideanRing → EuclideanRing
-
def
multiplicative: CMonoid[BigInt]
- Definition Classes
- MultiplicativeCMonoid → MultiplicativeCSemigroup → MultiplicativeMonoid → MultiplicativeSemigroup
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
negate(a: BigInt): BigInt
- Definition Classes
- BigIntIsEuclideanRing → AdditiveGroup
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
val
one: BigInt
- Definition Classes
- BigIntIsEuclideanRing → MultiplicativeMonoid
-
def
plus(a: BigInt, b: BigInt): BigInt
- Definition Classes
- BigIntIsEuclideanRing → AdditiveSemigroup
-
def
pow(a: BigInt, b: Int): BigInt
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
- BigIntIsEuclideanRing → Rig → Semiring
-
def
prod(as: TraversableOnce[BigInt]): BigInt
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[BigInt]): Option[BigInt]
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: BigInt, n: Int): BigInt
Return
amultiplied with itselfntimes.Return
amultiplied with itselfntimes.- Definition Classes
- MultiplicativeMonoid → MultiplicativeSemigroup
-
def
prodnAboveOne(a: BigInt, n: Int): BigInt
- Attributes
- protected
- Definition Classes
- MultiplicativeSemigroup
-
def
quot(a: BigInt, b: BigInt): BigInt
- Definition Classes
- BigIntIsEuclideanRing → EuclideanRing
-
def
quotmod(a: BigInt, b: BigInt): (BigInt, BigInt)
- Definition Classes
- BigIntIsEuclideanRing → EuclideanRing
-
def
sum(as: TraversableOnce[BigInt]): BigInt
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[BigInt]): Option[BigInt]
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: BigInt, n: Int): BigInt
Return
aadded with itselfntimes.Return
aadded with itselfntimes.- Definition Classes
- AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
-
def
sumnAboveOne(a: BigInt, n: Int): BigInt
- Attributes
- protected
- Definition Classes
- AdditiveSemigroup
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
times(a: BigInt, b: BigInt): BigInt
- Definition Classes
- BigIntIsEuclideanRing → 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( ... )
-
val
zero: BigInt
- Definition Classes
- BigIntIsEuclideanRing → AdditiveMonoid