BigIntegerIsEuclideanRing

Value members

Concrete methods

Definition Classes
override def fromInt(n: Int): BigInteger
Definition Classes
override def gcd(a: BigInteger, b: BigInteger)(implicit ev: Eq[BigInteger]): BigInteger
Definition Classes
override def lcm(a: BigInteger, b: BigInteger)(implicit ev: Eq[BigInteger]): BigInteger
Definition Classes
override def minus(a: BigInteger, b: BigInteger): BigInteger
Definition Classes
override def pow(a: BigInteger, b: Int): BigInteger
override def times(a: BigInteger, b: BigInteger): BigInteger
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: BigInteger)(implicit ev: Eq[BigInteger]): Boolean

Tests if a is one.

Tests if a is one.

Inherited from:
MultiplicativeMonoid
def isZero(a: BigInteger)(implicit ev: Eq[BigInteger]): 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: BigInteger, n: Int): BigInteger
Definition Classes
Inherited from:
AdditiveGroup
@nowarn("msg=deprecated")
@nowarn("msg=deprecated")
Definition Classes
Inherited from:
AdditiveMonoid