BigIntIsEuclideanRing

Value members

Concrete methods

def emod(a: BigInt, b: BigInt): BigInt
def equot(a: BigInt, b: BigInt): BigInt
override def equotmod(a: BigInt, b: BigInt): (BigInt, BigInt)
Definition Classes
override def fromInt(n: Int): BigInt
Definition Classes
override def gcd(a: BigInt, b: BigInt)(implicit ev: Eq[BigInt]): BigInt
Definition Classes
override def lcm(a: BigInt, b: BigInt)(implicit ev: Eq[BigInt]): BigInt
Definition Classes
override def minus(a: BigInt, b: BigInt): BigInt
Definition Classes
def plus(a: BigInt, b: BigInt): BigInt
override def pow(a: BigInt, b: Int): BigInt
override def times(a: BigInt, b: BigInt): BigInt
Definition Classes

Inherited methods

Convert the given BigInt to an instance of A.

Convert the given BigInt to an instance of A.

This is equivalent to n repeated summations of this ring's one, or -n summations of -one if n is negative.

Most type class instances should consider overriding this method for performance reasons.

Inherited from:
Ring
def isOne(a: BigInt)(implicit ev: Eq[BigInt]): Boolean

Tests if a is one.

Tests if a is one.

Inherited from:
MultiplicativeMonoid
def isZero(a: BigInt)(implicit ev: Eq[BigInt]): Boolean

Tests if a is zero.

Tests if a is zero.

Inherited from:
AdditiveMonoid
@nowarn("msg=deprecated")

Given a sequence of as, compute the product.

Given a sequence of as, compute the product.

Inherited from:
MultiplicativeMonoid
@nowarn("msg=deprecated")

Given a sequence of as, compute the sum.

Given a sequence of as, compute the sum.

Inherited from:
AdditiveMonoid
override def sumN(a: BigInt, n: Int): BigInt
Definition Classes
Inherited from:
AdditiveGroup
@nowarn("msg=deprecated")
@nowarn("msg=deprecated")
override def trySum(as: IterableOnce[BigInt]): Option[BigInt]
Definition Classes
Inherited from:
AdditiveMonoid

Concrete fields

val one: BigInt