ByteAlgebra

class ByteAlgebra extends CommutativeRing[Byte] with Serializable
trait CommutativeRing[Byte]
trait CommutativeRng[Byte]
trait CommutativeRig[Byte]
trait Ring[Byte]
trait Rng[Byte]
trait AdditiveGroup[Byte]
trait Rig[Byte]
trait Semiring[Byte]
trait AdditiveMonoid[Byte]
trait AdditiveSemigroup[Byte]
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

override def fromBigInt(n: BigInt): Byte
Definition Classes
override def fromInt(n: Int): Byte
Definition Classes
override def minus(x: Byte, y: Byte): Byte
Definition Classes
def negate(x: Byte): Byte
def one: Byte
def plus(x: Byte, y: Byte): Byte
override def pow(x: Byte, y: Int): Byte
def times(x: Byte, y: Byte): Byte
def zero: Byte

Inherited methods

def isOne(a: Byte)(ev: Eq[Byte]): Boolean

Tests if a is one.

Tests if a is one.

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

Tests if a is zero.

Tests if a is zero.

Inherited from
AdditiveMonoid
def product(as: IterableOnce[Byte]): Byte

Given a sequence of as, compute the product.

Given a sequence of as, compute the product.

Inherited from
MultiplicativeMonoid
def sum(as: IterableOnce[Byte]): Byte

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
override def tryProduct(as: IterableOnce[Byte]): Option[Byte]
override def trySum(as: IterableOnce[Byte]): Option[Byte]
Definition Classes
Inherited from
AdditiveMonoid