ByteIsEuclideanRing

Value members

Concrete methods

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

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: Byte)(implicit ev: Eq[Byte]): Boolean

Tests if a is one.

Tests if a is one.

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