Class

spire.std

BigIntegerAlgebra

Related Doc: package std

Permalink

class BigIntegerAlgebra extends BigIntegerIsEuclideanRing with BigIntegerIsNRoot with BigIntegerIsMetricSpace with BigIntegerIsReal with Serializable

Annotations
@SerialVersionUID()
Linear Supertypes
BigIntegerIsReal, BigIntegerIsSigned, BigIntegerOrder, IsIntegral[BigInteger], IsRational[BigInteger], IsAlgebraic[BigInteger], IsReal[BigInteger], Signed[BigInteger], Order[BigInteger], PartialOrder[BigInteger], Eq[BigInteger], BigIntegerIsMetricSpace, MetricSpace[BigInteger, BigInteger], BigIntegerIsNRoot, NRoot[BigInteger], BigIntegerIsEuclideanRing, EuclideanRing[BigInteger], GCDRing[BigInteger], CommutativeRing[BigInteger], CommutativeRng[BigInteger], CommutativeRig[BigInteger], MultiplicativeCommutativeMonoid[BigInteger], CommutativeSemiring[BigInteger], MultiplicativeCommutativeSemigroup[BigInteger], Ring[BigInteger], Rng[BigInteger], AdditiveCommutativeGroup[BigInteger], AdditiveGroup[BigInteger], Rig[BigInteger], MultiplicativeMonoid[BigInteger], Semiring[BigInteger], MultiplicativeSemigroup[BigInteger], AdditiveCommutativeMonoid[BigInteger], AdditiveCommutativeSemigroup[BigInteger], AdditiveMonoid[BigInteger], AdditiveSemigroup[BigInteger], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BigIntegerAlgebra
  2. BigIntegerIsReal
  3. BigIntegerIsSigned
  4. BigIntegerOrder
  5. IsIntegral
  6. IsRational
  7. IsAlgebraic
  8. IsReal
  9. Signed
  10. Order
  11. PartialOrder
  12. Eq
  13. BigIntegerIsMetricSpace
  14. MetricSpace
  15. BigIntegerIsNRoot
  16. NRoot
  17. BigIntegerIsEuclideanRing
  18. EuclideanRing
  19. GCDRing
  20. CommutativeRing
  21. CommutativeRng
  22. CommutativeRig
  23. MultiplicativeCommutativeMonoid
  24. CommutativeSemiring
  25. MultiplicativeCommutativeSemigroup
  26. Ring
  27. Rng
  28. AdditiveCommutativeGroup
  29. AdditiveGroup
  30. Rig
  31. MultiplicativeMonoid
  32. Semiring
  33. MultiplicativeSemigroup
  34. AdditiveCommutativeMonoid
  35. AdditiveCommutativeSemigroup
  36. AdditiveMonoid
  37. AdditiveSemigroup
  38. Serializable
  39. Serializable
  40. AnyRef
  41. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BigIntegerAlgebra()

    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: BigInteger): BigInteger

    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
    BigIntegerIsSignedSigned
  5. def additive: CommutativeGroup[BigInteger]

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

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

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

    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: BigInteger, y: BigInteger): Int

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

    Permalink
    Definition Classes
    Order
  12. def distance(v: BigInteger, w: BigInteger): BigInteger

    Permalink
    Definition Classes
    BigIntegerIsMetricSpaceMetricSpace
  13. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    BigIntegerOrder → Order → PartialOrder → Eq
  16. def euclideanFunction(a: BigInteger): BigInt

    Permalink
  17. def finalize(): Unit

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

    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
  19. def fpow(a: BigInteger, b: BigInteger): BigInteger

    Permalink
    Definition Classes
    BigIntegerIsNRootNRoot
  20. def fromBigInt(n: BigInt): BigInteger

    Permalink
    Definition Classes
    Ring
  21. def fromInt(n: Int): BigInteger

    Permalink
    Definition Classes
    BigIntegerIsEuclideanRing → Ring
  22. def gcd(a: BigInteger, b: BigInteger)(implicit ev: Eq[BigInteger]): BigInteger

    Permalink
    Definition Classes
    BigIntegerIsEuclideanRingGCDRing
  23. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    BigIntegerOrder → Order → PartialOrder
  25. def gteqv(x: BigInteger, y: BigInteger): Boolean

    Permalink
    Definition Classes
    BigIntegerOrder → Order → PartialOrder
  26. def hashCode(): Int

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

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

    Permalink
    Definition Classes
    MultiplicativeMonoid
  29. def isSignNegative(a: BigInteger): Boolean

    Permalink
    Definition Classes
    Signed
  30. def isSignNonNegative(a: BigInteger): Boolean

    Permalink
    Definition Classes
    Signed
  31. def isSignNonPositive(a: BigInteger): Boolean

    Permalink
    Definition Classes
    Signed
  32. def isSignNonZero(a: BigInteger): Boolean

    Permalink
    Definition Classes
    Signed
  33. def isSignPositive(a: BigInteger): Boolean

    Permalink
    Definition Classes
    Signed
  34. def isSignZero(a: BigInteger): Boolean

    Permalink
    Definition Classes
    Signed
  35. def isWhole(a: BigInteger): Boolean

    Permalink

    Returns true iff a is a an integer.

    Returns true iff a is a an integer.

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

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

    Permalink
    Definition Classes
    BigIntegerIsEuclideanRingGCDRing
  38. def lt(x: BigInteger, y: BigInteger): Boolean

    Permalink
    Definition Classes
    BigIntegerOrder → Order → PartialOrder
  39. def lteqv(x: BigInteger, y: BigInteger): Boolean

    Permalink
    Definition Classes
    BigIntegerOrder → Order → PartialOrder
  40. def max(x: BigInteger, y: BigInteger): BigInteger

    Permalink
    Definition Classes
    BigIntegerOrder → Order
  41. def min(x: BigInteger, y: BigInteger): BigInteger

    Permalink
    Definition Classes
    BigIntegerOrder → Order
  42. def minus(a: BigInteger, b: BigInteger): BigInteger

    Permalink
    Definition Classes
    BigIntegerIsEuclideanRing → AdditiveGroup
  43. def mod(a: BigInteger, b: BigInteger): BigInteger

    Permalink
  44. def multiplicative: CommutativeMonoid[BigInteger]

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

    Permalink
    Definition Classes
    AnyRef
  46. def negate(a: BigInteger): BigInteger

    Permalink
    Definition Classes
    BigIntegerIsEuclideanRing → AdditiveGroup
  47. def neqv(x: BigInteger, y: BigInteger): Boolean

    Permalink
    Definition Classes
    BigIntegerOrder → Order → Eq
  48. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  50. def nroot(a: BigInteger, k: Int): BigInteger

    Permalink
    Definition Classes
    BigIntegerIsNRootNRoot
  51. def on[B](f: (B) ⇒ BigInteger): Order[B]

    Permalink
    Definition Classes
    Order → PartialOrder → Eq
  52. def one: BigInteger

    Permalink
    Definition Classes
    BigIntegerIsEuclideanRing → MultiplicativeMonoid
  53. def or(that: Eq[BigInteger]): Eq[BigInteger]

    Permalink
    Definition Classes
    Eq
  54. def partialCompare(x: BigInteger, y: BigInteger): Double

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

    Permalink
    Definition Classes
    PartialOrder
  56. def plus(a: BigInteger, b: BigInteger): BigInteger

    Permalink
    Definition Classes
    BigIntegerIsEuclideanRing → AdditiveSemigroup
  57. def pmax(x: BigInteger, y: BigInteger): Option[BigInteger]

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

    Permalink
    Definition Classes
    PartialOrder
  59. def positivePow(a: BigInteger, n: Int): BigInteger

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

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

    Permalink
    Definition Classes
    BigIntegerIsEuclideanRing → MultiplicativeMonoid → MultiplicativeSemigroup
  62. def product(as: TraversableOnce[BigInteger]): BigInteger

    Permalink
    Definition Classes
    MultiplicativeMonoid
  63. def quot(a: BigInteger, b: BigInteger): BigInteger

    Permalink
  64. def quotmod(a: BigInteger, b: BigInteger): (BigInteger, BigInteger)

    Permalink
  65. def reverse: Order[BigInteger]

    Permalink
    Definition Classes
    Order → PartialOrder
  66. def round(a: BigInteger): BigInteger

    Permalink

    Rounds a to the nearest integer.

    Rounds a to the nearest integer.

    Definition Classes
    IsIntegralIsReal
  67. def sign(a: BigInteger): 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
  68. def signum(a: BigInteger): 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
    BigIntegerIsSignedSigned
  69. def sqrt(a: BigInteger): BigInteger

    Permalink
    Definition Classes
    NRoot
  70. def sum(as: TraversableOnce[BigInteger]): BigInteger

    Permalink
    Definition Classes
    AdditiveMonoid
  71. def sumN(a: BigInteger, n: Int): BigInteger

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

    Permalink
    Definition Classes
    AnyRef
  73. def times(a: BigInteger, b: BigInteger): BigInteger

    Permalink
    Definition Classes
    BigIntegerIsEuclideanRing → MultiplicativeSemigroup
  74. def toAlgebraic(a: BigInteger): Algebraic

    Permalink
    Definition Classes
    IsRationalIsAlgebraic
  75. def toBigInt(n: BigInteger): BigInt

    Permalink
    Definition Classes
    BigIntegerIsRealIsIntegral
  76. def toDouble(n: BigInteger): Double

    Permalink

    Approximates a as a Double.

    Approximates a as a Double.

    Definition Classes
    BigIntegerIsRealIsReal
  77. def toOrdering: Ordering[BigInteger]

    Permalink
    Definition Classes
    Order
  78. def toRational(a: BigInteger): Rational

    Permalink
    Definition Classes
    IsIntegralIsRational
  79. def toReal(a: BigInteger): Real

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

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

    Permalink
    Definition Classes
    PartialOrder
  82. def tryProduct(as: TraversableOnce[BigInteger]): Option[BigInteger]

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

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

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

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

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

    Permalink
    Definition Classes
    Order
  88. def zero: BigInteger

    Permalink
    Definition Classes
    BigIntegerIsEuclideanRing → AdditiveMonoid

Inherited from BigIntegerIsReal

Inherited from BigIntegerIsSigned

Inherited from BigIntegerOrder

Inherited from IsIntegral[BigInteger]

Inherited from IsRational[BigInteger]

Inherited from IsAlgebraic[BigInteger]

Inherited from IsReal[BigInteger]

Inherited from Signed[BigInteger]

Inherited from Order[BigInteger]

Inherited from PartialOrder[BigInteger]

Inherited from Eq[BigInteger]

Inherited from BigIntegerIsMetricSpace

Inherited from MetricSpace[BigInteger, BigInteger]

Inherited from BigIntegerIsNRoot

Inherited from NRoot[BigInteger]

Inherited from BigIntegerIsEuclideanRing

Inherited from EuclideanRing[BigInteger]

Inherited from GCDRing[BigInteger]

Inherited from CommutativeRing[BigInteger]

Inherited from CommutativeRng[BigInteger]

Inherited from CommutativeRig[BigInteger]

Inherited from MultiplicativeCommutativeMonoid[BigInteger]

Inherited from CommutativeSemiring[BigInteger]

Inherited from MultiplicativeCommutativeSemigroup[BigInteger]

Inherited from Ring[BigInteger]

Inherited from Rng[BigInteger]

Inherited from AdditiveCommutativeGroup[BigInteger]

Inherited from AdditiveGroup[BigInteger]

Inherited from Rig[BigInteger]

Inherited from MultiplicativeMonoid[BigInteger]

Inherited from Semiring[BigInteger]

Inherited from MultiplicativeSemigroup[BigInteger]

Inherited from AdditiveCommutativeMonoid[BigInteger]

Inherited from AdditiveCommutativeSemigroup[BigInteger]

Inherited from AdditiveMonoid[BigInteger]

Inherited from AdditiveSemigroup[BigInteger]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped