Class

spire.std

ByteAlgebra

Related Doc: package std

Permalink

class ByteAlgebra extends ByteIsEuclideanRing with ByteIsReal with Serializable

Annotations
@SerialVersionUID()
Linear Supertypes
ByteIsReal, ByteIsSigned, ByteOrder, IsIntegral[Byte], IsRational[Byte], IsAlgebraic[Byte], IsReal[Byte], Signed[Byte], Order[Byte], PartialOrder[Byte], Eq[Byte], ByteIsEuclideanRing, EuclideanRing[Byte], GCDRing[Byte], CommutativeRing[Byte], CommutativeRng[Byte], CommutativeRig[Byte], MultiplicativeCommutativeMonoid[Byte], CommutativeSemiring[Byte], MultiplicativeCommutativeSemigroup[Byte], Ring[Byte], Rng[Byte], AdditiveCommutativeGroup[Byte], AdditiveGroup[Byte], Rig[Byte], MultiplicativeMonoid[Byte], Semiring[Byte], MultiplicativeSemigroup[Byte], AdditiveCommutativeMonoid[Byte], AdditiveCommutativeSemigroup[Byte], AdditiveMonoid[Byte], AdditiveSemigroup[Byte], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ByteAlgebra
  2. ByteIsReal
  3. ByteIsSigned
  4. ByteOrder
  5. IsIntegral
  6. IsRational
  7. IsAlgebraic
  8. IsReal
  9. Signed
  10. Order
  11. PartialOrder
  12. Eq
  13. ByteIsEuclideanRing
  14. EuclideanRing
  15. GCDRing
  16. CommutativeRing
  17. CommutativeRng
  18. CommutativeRig
  19. MultiplicativeCommutativeMonoid
  20. CommutativeSemiring
  21. MultiplicativeCommutativeSemigroup
  22. Ring
  23. Rng
  24. AdditiveCommutativeGroup
  25. AdditiveGroup
  26. Rig
  27. MultiplicativeMonoid
  28. Semiring
  29. MultiplicativeSemigroup
  30. AdditiveCommutativeMonoid
  31. AdditiveCommutativeSemigroup
  32. AdditiveMonoid
  33. AdditiveSemigroup
  34. Serializable
  35. Serializable
  36. AnyRef
  37. 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 abs(a: Byte): Byte

    Permalink

    An idempotent function that ensures an object has a non-negative sign.

    An idempotent function that ensures an object has a non-negative sign.

    Definition Classes
    ByteIsSignedSigned
  5. def additive: CommutativeGroup[Byte]

    Permalink
    Definition Classes
    AdditiveCommutativeGroup → AdditiveCommutativeMonoid → AdditiveCommutativeSemigroup → AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
  6. def and(that: Eq[Byte]): Eq[Byte]

    Permalink
    Definition Classes
    Eq
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def ceil(a: Byte): Byte

    Permalink

    Rounds a the nearest integer that is greater than or equal to a.

    Rounds a the nearest integer that is greater than or equal to a.

    Definition Classes
    IsIntegralIsReal
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def compare(x: Byte, y: Byte): Int

    Permalink
    Definition Classes
    ByteOrder → Order
  11. def comparison(x: Byte, y: Byte): Comparison

    Permalink
    Definition Classes
    Order
  12. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def eqv(x: Byte, y: Byte): Boolean

    Permalink
    Definition Classes
    ByteOrder → Order → PartialOrder → Eq
  15. def euclideanFunction(a: Byte): BigInt

    Permalink
    Definition Classes
    ByteIsEuclideanRingEuclideanRing
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def floor(a: Byte): Byte

    Permalink

    Rounds a the nearest integer that is less than or equal to a.

    Rounds a the nearest integer that is less than or equal to a.

    Definition Classes
    IsIntegralIsReal
  18. def fromBigInt(n: BigInt): Byte

    Permalink
    Definition Classes
    Ring
  19. def fromInt(n: Int): Byte

    Permalink
    Definition Classes
    ByteIsEuclideanRing → Ring
  20. def gcd(a: Byte, b: Byte)(implicit ev: Eq[Byte]): Byte

    Permalink
    Definition Classes
    ByteIsEuclideanRingGCDRing
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def gt(x: Byte, y: Byte): Boolean

    Permalink
    Definition Classes
    ByteOrder → Order → PartialOrder
  23. def gteqv(x: Byte, y: Byte): Boolean

    Permalink
    Definition Classes
    ByteOrder → Order → PartialOrder
  24. def hashCode(): Int

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

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

    Permalink
    Definition Classes
    MultiplicativeMonoid
  27. def isSignNegative(a: Byte): Boolean

    Permalink
    Definition Classes
    Signed
  28. def isSignNonNegative(a: Byte): Boolean

    Permalink
    Definition Classes
    Signed
  29. def isSignNonPositive(a: Byte): Boolean

    Permalink
    Definition Classes
    Signed
  30. def isSignNonZero(a: Byte): Boolean

    Permalink
    Definition Classes
    Signed
  31. def isSignPositive(a: Byte): Boolean

    Permalink
    Definition Classes
    Signed
  32. def isSignZero(a: Byte): Boolean

    Permalink
    Definition Classes
    Signed
  33. def isWhole(a: Byte): Boolean

    Permalink

    Returns true iff a is a an integer.

    Returns true iff a is a an integer.

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

    Permalink
    Definition Classes
    AdditiveMonoid
  35. def lcm(a: Byte, b: Byte)(implicit ev: Eq[Byte]): Byte

    Permalink
    Definition Classes
    ByteIsEuclideanRingGCDRing
  36. def lt(x: Byte, y: Byte): Boolean

    Permalink
    Definition Classes
    ByteOrder → Order → PartialOrder
  37. def lteqv(x: Byte, y: Byte): Boolean

    Permalink
    Definition Classes
    ByteOrder → Order → PartialOrder
  38. def max(x: Byte, y: Byte): Byte

    Permalink
    Definition Classes
    Order
  39. def min(x: Byte, y: Byte): Byte

    Permalink
    Definition Classes
    Order
  40. def minus(a: Byte, b: Byte): Byte

    Permalink
    Definition Classes
    ByteIsEuclideanRing → AdditiveGroup
  41. def mod(a: Byte, b: Byte): Byte

    Permalink
    Definition Classes
    ByteIsEuclideanRingEuclideanRing
  42. def multiplicative: CommutativeMonoid[Byte]

    Permalink
    Definition Classes
    MultiplicativeCommutativeMonoid → MultiplicativeCommutativeSemigroup → MultiplicativeMonoid → MultiplicativeSemigroup
  43. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  44. def negate(a: Byte): Byte

    Permalink
    Definition Classes
    ByteIsEuclideanRing → AdditiveGroup
  45. def neqv(x: Byte, y: Byte): Boolean

    Permalink
    Definition Classes
    ByteOrder → Order → Eq
  46. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  48. def on[B](f: (B) ⇒ Byte): Order[B]

    Permalink
    Definition Classes
    Order → PartialOrder → Eq
  49. def one: Byte

    Permalink
    Definition Classes
    ByteIsEuclideanRing → MultiplicativeMonoid
  50. def or(that: Eq[Byte]): Eq[Byte]

    Permalink
    Definition Classes
    Eq
  51. def partialCompare(x: Byte, y: Byte): Double

    Permalink
    Definition Classes
    Order → PartialOrder
  52. def partialComparison(x: Byte, y: Byte): Option[Comparison]

    Permalink
    Definition Classes
    PartialOrder
  53. def plus(a: Byte, b: Byte): Byte

    Permalink
    Definition Classes
    ByteIsEuclideanRing → AdditiveSemigroup
  54. def pmax(x: Byte, y: Byte): Option[Byte]

    Permalink
    Definition Classes
    PartialOrder
  55. def pmin(x: Byte, y: Byte): Option[Byte]

    Permalink
    Definition Classes
    PartialOrder
  56. def positivePow(a: Byte, n: Int): Byte

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    AdditiveSemigroup
  58. def pow(a: Byte, b: Int): Byte

    Permalink
    Definition Classes
    ByteIsEuclideanRing → MultiplicativeMonoid → MultiplicativeSemigroup
  59. def product(as: TraversableOnce[Byte]): Byte

    Permalink
    Definition Classes
    MultiplicativeMonoid
  60. def quot(a: Byte, b: Byte): Byte

    Permalink
    Definition Classes
    ByteIsEuclideanRingEuclideanRing
  61. def quotmod(a: Byte, b: Byte): (Byte, Byte)

    Permalink
    Definition Classes
    EuclideanRing
  62. def reverse: Order[Byte]

    Permalink
    Definition Classes
    Order → PartialOrder
  63. def round(a: Byte): Byte

    Permalink

    Rounds a to the nearest integer.

    Rounds a to the nearest integer.

    Definition Classes
    IsIntegralIsReal
  64. def sign(a: Byte): Sign

    Permalink

    Returns Zero if a is 0, Positive if a is positive, and Negative is a is negative.

    Returns Zero if a is 0, Positive if a is positive, and Negative is a is negative.

    Definition Classes
    Signed
  65. def signum(a: Byte): Int

    Permalink

    Returns 0 if a is 0, 1 if a is positive, and -1 is a is negative.

    Returns 0 if a is 0, 1 if a is positive, and -1 is a is negative.

    Definition Classes
    ByteIsSignedSigned
  66. def sum(as: TraversableOnce[Byte]): Byte

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

    Permalink
    Definition Classes
    AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
  68. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  69. def times(a: Byte, b: Byte): Byte

    Permalink
    Definition Classes
    ByteIsEuclideanRing → MultiplicativeSemigroup
  70. def toAlgebraic(a: Byte): Algebraic

    Permalink
    Definition Classes
    IsRationalIsAlgebraic
  71. def toBigInt(n: Byte): BigInt

    Permalink
    Definition Classes
    ByteIsRealIsIntegral
  72. def toDouble(n: Byte): Double

    Permalink

    Approximates a as a Double.

    Approximates a as a Double.

    Definition Classes
    ByteIsRealIsReal
  73. def toOrdering: Ordering[Byte]

    Permalink
    Definition Classes
    Order
  74. def toRational(a: Byte): Rational

    Permalink
    Definition Classes
    IsIntegralIsRational
  75. def toReal(a: Byte): Real

    Permalink
    Definition Classes
    IsAlgebraicIsReal
  76. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  77. def tryCompare(x: Byte, y: Byte): Option[Int]

    Permalink
    Definition Classes
    PartialOrder
  78. def tryProduct(as: TraversableOnce[Byte]): Option[Byte]

    Permalink
    Definition Classes
    MultiplicativeMonoid → MultiplicativeSemigroup
  79. def trySum(as: TraversableOnce[Byte]): Option[Byte]

    Permalink
    Definition Classes
    AdditiveMonoid → AdditiveSemigroup
  80. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  83. def whenEqual(o: Order[Byte]): Order[Byte]

    Permalink
    Definition Classes
    Order
  84. def zero: Byte

    Permalink
    Definition Classes
    ByteIsEuclideanRing → AdditiveMonoid

Inherited from ByteIsReal

Inherited from ByteIsSigned

Inherited from ByteOrder

Inherited from IsIntegral[Byte]

Inherited from IsRational[Byte]

Inherited from IsAlgebraic[Byte]

Inherited from IsReal[Byte]

Inherited from Signed[Byte]

Inherited from Order[Byte]

Inherited from PartialOrder[Byte]

Inherited from Eq[Byte]

Inherited from ByteIsEuclideanRing

Inherited from EuclideanRing[Byte]

Inherited from GCDRing[Byte]

Inherited from CommutativeRing[Byte]

Inherited from CommutativeRng[Byte]

Inherited from CommutativeRig[Byte]

Inherited from MultiplicativeCommutativeMonoid[Byte]

Inherited from CommutativeSemiring[Byte]

Inherited from MultiplicativeCommutativeSemigroup[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 AdditiveCommutativeMonoid[Byte]

Inherited from AdditiveCommutativeSemigroup[Byte]

Inherited from AdditiveMonoid[Byte]

Inherited from AdditiveSemigroup[Byte]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped