c

algebra.instances

ByteAlgebra

class ByteAlgebra extends CommutativeRing[Byte] with Serializable

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

Instance Constructors

  1. new ByteAlgebra()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def additive: CommutativeGroup[Byte]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def fromBigInt(n: BigInt): Byte

    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.

    Definition Classes
    ByteAlgebraRing
  10. def fromInt(n: Int): Byte

    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. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def isOne(a: Byte)(implicit ev: Eq[Byte]): Boolean

    Tests if a is one.

    Tests if a is one.

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

    Tests if a is zero.

    Tests if a is zero.

    Definition Classes
    AdditiveMonoid
  16. def minus(x: Byte, y: Byte): Byte
    Definition Classes
    ByteAlgebraAdditiveGroup
  17. def multiplicative: CommutativeMonoid[Byte]
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def negate(x: Byte): Byte
    Definition Classes
    ByteAlgebraAdditiveGroup
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def one: Byte
    Definition Classes
    ByteAlgebraMultiplicativeMonoid
  23. def plus(x: Byte, y: Byte): Byte
    Definition Classes
    ByteAlgebraAdditiveSemigroup
  24. def positivePow(a: Byte, n: Int): Byte
    Attributes
    protected[this]
    Definition Classes
    MultiplicativeSemigroup
  25. def positiveSumN(a: Byte, n: Int): Byte
    Attributes
    protected[this]
    Definition Classes
    AdditiveSemigroup
  26. def pow(x: Byte, y: Int): Byte
  27. def product(as: TraversableOnce[Byte]): Byte

    Given a sequence of as, compute the product.

    Given a sequence of as, compute the product.

    Definition Classes
    MultiplicativeMonoid
  28. def sum(as: TraversableOnce[Byte]): Byte

    Given a sequence of as, compute the sum.

    Given a sequence of as, compute the sum.

    Definition Classes
    AdditiveMonoid
  29. def sumN(a: Byte, n: Int): Byte
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def times(x: Byte, y: Byte): Byte
    Definition Classes
    ByteAlgebraMultiplicativeSemigroup
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. def tryProduct(as: TraversableOnce[Byte]): Option[Byte]

    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
  34. def trySum(as: TraversableOnce[Byte]): Option[Byte]

    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
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def zero: Byte
    Definition Classes
    ByteAlgebraAdditiveMonoid

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from CommutativeRing[Byte]

Inherited from CommutativeRng[Byte]

Inherited from CommutativeRig[Byte]

Inherited from CommutativeSemiring[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