Class

algebra.instances

ByteAlgebra

Related Doc: package instances

Permalink

class ByteAlgebra extends EuclideanRing[Byte] with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ByteAlgebra
  2. EuclideanRing
  3. CommutativeRing
  4. CommutativeRig
  5. MultiplicativeCommutativeMonoid
  6. MultiplicativeCommutativeSemigroup
  7. Ring
  8. Rng
  9. AdditiveCommutativeGroup
  10. AdditiveGroup
  11. Rig
  12. MultiplicativeMonoid
  13. Semiring
  14. MultiplicativeSemigroup
  15. AdditiveCommutativeMonoid
  16. AdditiveCommutativeSemigroup
  17. AdditiveMonoid
  18. AdditiveSemigroup
  19. Serializable
  20. Serializable
  21. AnyRef
  22. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ByteAlgebra()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def additive: CommutativeGroup[Byte]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def fromInt(n: Int): Byte

    Permalink

    Convert the given integer to an instance of A.

    Convert the given integer to an instance of A.

    Defined to be equivalent to sumN(one, n).

    That is, 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.

    Definition Classes
    ByteAlgebraRing
  11. def gcd(x: Byte, y: Byte): Byte

    Permalink
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def isOne(a: Byte)(implicit ev: Eq[Byte]): Boolean

    Permalink

    Tests if a is one.

    Tests if a is one.

    Definition Classes
    MultiplicativeMonoid
  16. def isZero(a: Byte)(implicit ev: Eq[Byte]): Boolean

    Permalink

    Tests if a is zero.

    Tests if a is zero.

    Definition Classes
    AdditiveMonoid
  17. def minus(x: Byte, y: Byte): Byte

    Permalink
    Definition Classes
    ByteAlgebraAdditiveGroup
  18. def mod(x: Byte, y: Byte): Byte

    Permalink
    Definition Classes
    ByteAlgebraEuclideanRing
  19. def multiplicative: CommutativeMonoid[Byte]

    Permalink
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def negate(x: Byte): Byte

    Permalink
    Definition Classes
    ByteAlgebraAdditiveGroup
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def one: Byte

    Permalink
    Definition Classes
    ByteAlgebraMultiplicativeMonoid
  25. def plus(x: Byte, y: Byte): Byte

    Permalink
    Definition Classes
    ByteAlgebraAdditiveSemigroup
  26. def positivePow(a: Byte, n: Int): Byte

    Permalink
    Attributes
    protected[this]
    Definition Classes
    MultiplicativeSemigroup
  27. def positiveSumN(a: Byte, n: Int): Byte

    Permalink
    Attributes
    protected[this]
    Definition Classes
    AdditiveSemigroup
  28. def pow(x: Byte, y: Int): Byte

    Permalink
  29. def product(as: TraversableOnce[Byte]): Byte

    Permalink

    Given a sequence of as, compute the product.

    Given a sequence of as, compute the product.

    Definition Classes
    MultiplicativeMonoid
  30. def quot(x: Byte, y: Byte): Byte

    Permalink
    Definition Classes
    ByteAlgebraEuclideanRing
  31. def quotmod(a: Byte, b: Byte): (Byte, Byte)

    Permalink
    Definition Classes
    EuclideanRing
  32. def sum(as: TraversableOnce[Byte]): Byte

    Permalink

    Given a sequence of as, compute the sum.

    Given a sequence of as, compute the sum.

    Definition Classes
    AdditiveMonoid
  33. def sumN(a: Byte, n: Int): Byte

    Permalink
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. def times(x: Byte, y: Byte): Byte

    Permalink
    Definition Classes
    ByteAlgebraMultiplicativeSemigroup
  36. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  37. def tryProduct(as: TraversableOnce[Byte]): Option[Byte]

    Permalink

    Given a sequence of as, combine them and return the total.

    Given a sequence of as, combine them and return the total.

    If the sequence is empty, returns None. Otherwise, returns Some(total).

    Definition Classes
    MultiplicativeMonoidMultiplicativeSemigroup
  38. def trySum(as: TraversableOnce[Byte]): Option[Byte]

    Permalink

    Given a sequence of as, combine them and return the total.

    Given a sequence of as, combine them and return the total.

    If the sequence is empty, returns None. Otherwise, returns Some(total).

    Definition Classes
    AdditiveMonoidAdditiveSemigroup
  39. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def zero: Byte

    Permalink
    Definition Classes
    ByteAlgebraAdditiveMonoid

Inherited from EuclideanRing[Byte]

Inherited from CommutativeRing[Byte]

Inherited from CommutativeRig[Byte]

Inherited from Ring[Byte]

Inherited from Rng[Byte]

Inherited from AdditiveCommutativeGroup[Byte]

Inherited from AdditiveGroup[Byte]

Inherited from Rig[Byte]

Inherited from MultiplicativeMonoid[Byte]

Inherited from Semiring[Byte]

Inherited from MultiplicativeSemigroup[Byte]

Inherited from AdditiveMonoid[Byte]

Inherited from AdditiveSemigroup[Byte]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped