Class

spire.std

BigIntAlgebra

Related Doc: package std

Permalink

class BigIntAlgebra extends BigIntIsEuclideanRing with BigIntIsNRoot with BigIntIsMetricSpace with BigIntIsReal with Serializable

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

Instance Constructors

  1. new BigIntAlgebra()

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

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

    Permalink
    Definition Classes
    AdditiveCommutativeGroup → AdditiveCommutativeMonoid → AdditiveCommutativeSemigroup → AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def ceil(a: BigInt): BigInt

    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
  8. def clone(): AnyRef

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

    Permalink
    Definition Classes
    BigIntOrder → Order
  10. def comparison(x: BigInt, y: BigInt): Comparison

    Permalink
    Definition Classes
    Order
  11. def distance(v: BigInt, w: BigInt): BigInt

    Permalink
    Definition Classes
    BigIntIsMetricSpaceMetricSpace
  12. def emod(a: BigInt, b: BigInt): BigInt

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def equot(a: BigInt, b: BigInt): BigInt

    Permalink
    Definition Classes
    BigIntIsEuclideanRingEuclideanRing
  16. def equotmod(a: BigInt, b: BigInt): (BigInt, BigInt)

    Permalink
    Definition Classes
    BigIntIsEuclideanRingEuclideanRing
  17. def eqv(x: BigInt, y: BigInt): Boolean

    Permalink
    Definition Classes
    BigIntOrder → Order → PartialOrder → Eq
  18. def euclideanFunction(a: BigInt): BigInt

    Permalink
    Definition Classes
    BigIntIsEuclideanRingEuclideanRing
  19. def finalize(): Unit

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

    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
  21. def fmod(x: BigInt, y: BigInt): BigInt

    Permalink
  22. def fpow(a: BigInt, b: BigInt): BigInt

    Permalink
    Definition Classes
    BigIntIsNRootNRoot
  23. def fquot(x: BigInt, y: BigInt): BigInt

    Permalink
  24. def fquotmod(x: BigInt, y: BigInt): (BigInt, BigInt)

    Permalink
  25. def fromBigInt(n: BigInt): BigInt

    Permalink
    Definition Classes
    Ring
  26. def fromInt(n: Int): BigInt

    Permalink
    Definition Classes
    BigIntIsEuclideanRing → Ring
  27. def gcd(a: BigInt, b: BigInt)(implicit ev: Eq[BigInt]): BigInt

    Permalink
    Definition Classes
    BigIntIsEuclideanRingGCDRing
  28. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    BigIntOrder → Order → PartialOrder
  30. def gteqv(x: BigInt, y: BigInt): Boolean

    Permalink
    Definition Classes
    BigIntOrder → Order → PartialOrder
  31. def hashCode(): Int

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

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

    Permalink
    Definition Classes
    MultiplicativeMonoid
  34. def isSignNegative(a: BigInt): Boolean

    Permalink
    Definition Classes
    Signed
  35. def isSignNonNegative(a: BigInt): Boolean

    Permalink
    Definition Classes
    Signed
  36. def isSignNonPositive(a: BigInt): Boolean

    Permalink
    Definition Classes
    Signed
  37. def isSignNonZero(a: BigInt): Boolean

    Permalink
    Definition Classes
    Signed
  38. def isSignPositive(a: BigInt): Boolean

    Permalink
    Definition Classes
    Signed
  39. def isSignZero(a: BigInt): Boolean

    Permalink
    Definition Classes
    Signed
  40. def isWhole(a: BigInt): Boolean

    Permalink

    Returns true iff a is a an integer.

    Returns true iff a is a an integer.

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

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

    Permalink
    Definition Classes
    BigIntIsEuclideanRingGCDRing
  43. def lt(x: BigInt, y: BigInt): Boolean

    Permalink
    Definition Classes
    BigIntOrder → Order → PartialOrder
  44. def lteqv(x: BigInt, y: BigInt): Boolean

    Permalink
    Definition Classes
    BigIntOrder → Order → PartialOrder
  45. def max(x: BigInt, y: BigInt): BigInt

    Permalink
    Definition Classes
    BigIntOrder → Order
  46. def min(x: BigInt, y: BigInt): BigInt

    Permalink
    Definition Classes
    BigIntOrder → Order
  47. def minus(a: BigInt, b: BigInt): BigInt

    Permalink
    Definition Classes
    BigIntIsEuclideanRing → AdditiveGroup
  48. def multiplicative: CommutativeMonoid[BigInt]

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

    Permalink
    Definition Classes
    AnyRef
  50. def negate(a: BigInt): BigInt

    Permalink
    Definition Classes
    BigIntIsEuclideanRing → AdditiveGroup
  51. def neqv(x: BigInt, y: BigInt): Boolean

    Permalink
    Definition Classes
    BigIntOrder → Order → Eq
  52. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  54. def nroot(a: BigInt, k: Int): BigInt

    Permalink
    Definition Classes
    BigIntIsNRootNRoot
  55. val one: BigInt

    Permalink
    Definition Classes
    BigIntIsEuclideanRing → MultiplicativeMonoid
  56. def partialCompare(x: BigInt, y: BigInt): Double

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

    Permalink
    Definition Classes
    PartialOrder
  58. def plus(a: BigInt, b: BigInt): BigInt

    Permalink
    Definition Classes
    BigIntIsEuclideanRing → AdditiveSemigroup
  59. def pmax(x: BigInt, y: BigInt): Option[BigInt]

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

    Permalink
    Definition Classes
    PartialOrder
  61. def positivePow(a: BigInt, n: Int): BigInt

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

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

    Permalink
    Definition Classes
    BigIntIsEuclideanRing → MultiplicativeMonoid → MultiplicativeSemigroup
  64. def product(as: TraversableOnce[BigInt]): BigInt

    Permalink
    Definition Classes
    MultiplicativeMonoid
  65. def round(a: BigInt): BigInt

    Permalink

    Rounds a to the nearest integer.

    Rounds a to the nearest integer.

    Definition Classes
    IsIntegralIsReal
  66. def sign(a: BigInt): 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
  67. def signum(a: BigInt): 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
    BigIntSignedSigned
  68. def sqrt(a: BigInt): BigInt

    Permalink
    Definition Classes
    NRoot
  69. def sum(as: TraversableOnce[BigInt]): BigInt

    Permalink
    Definition Classes
    AdditiveMonoid
  70. def sumN(a: BigInt, n: Int): BigInt

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

    Permalink
    Definition Classes
    AnyRef
  72. def times(a: BigInt, b: BigInt): BigInt

    Permalink
    Definition Classes
    BigIntIsEuclideanRing → MultiplicativeSemigroup
  73. def tmod(a: BigInt, b: BigInt): BigInt

    Permalink
  74. def toAlgebraic(a: BigInt): Algebraic

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

    Permalink
    Definition Classes
    BigIntIsRealIsIntegral
  76. def toBigIntOpt(x: BigInt): Opt[BigInt]

    Permalink

    Returns the integer a such that x = a * one, if it exists.

    Returns the integer a such that x = a * one, if it exists.

    Definition Classes
    BigIntTruncatedDivisionTruncatedDivision
  77. def toDouble(n: BigInt): Double

    Permalink

    Approximates a as a Double.

    Approximates a as a Double.

    Definition Classes
    BigIntIsRealIsReal
  78. def toOrdering: Ordering[BigInt]

    Permalink
    Definition Classes
    Order
  79. def toRational(a: BigInt): Rational

    Permalink
    Definition Classes
    IsIntegralIsRational
  80. def toReal(a: BigInt): Real

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

    Permalink
    Definition Classes
    AnyRef → Any
  82. def tquot(a: BigInt, b: BigInt): BigInt

    Permalink
  83. def tquotmod(a: BigInt, b: BigInt): (BigInt, BigInt)

    Permalink
  84. def tryCompare(x: BigInt, y: BigInt): Option[Int]

    Permalink
    Definition Classes
    PartialOrder
  85. def tryProduct(as: TraversableOnce[BigInt]): Option[BigInt]

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  90. val zero: BigInt

    Permalink
    Definition Classes
    BigIntIsEuclideanRing → AdditiveMonoid

Inherited from BigIntIsReal

Inherited from BigIntTruncatedDivision

Inherited from BigIntSigned

Inherited from BigIntOrder

Inherited from TruncatedDivisionCRing[BigInt]

Inherited from TruncatedDivision[BigInt]

Inherited from IsIntegral[BigInt]

Inherited from IsRational[BigInt]

Inherited from IsAlgebraic[BigInt]

Inherited from IsReal[BigInt]

Inherited from Signed[BigInt]

Inherited from Order[BigInt]

Inherited from PartialOrder[BigInt]

Inherited from Eq[BigInt]

Inherited from BigIntIsMetricSpace

Inherited from MetricSpace[BigInt, BigInt]

Inherited from BigIntIsNRoot

Inherited from NRoot[BigInt]

Inherited from BigIntIsEuclideanRing

Inherited from EuclideanRing[BigInt]

Inherited from GCDRing[BigInt]

Inherited from CommutativeRing[BigInt]

Inherited from CommutativeRng[BigInt]

Inherited from CommutativeRig[BigInt]

Inherited from MultiplicativeCommutativeMonoid[BigInt]

Inherited from CommutativeSemiring[BigInt]

Inherited from MultiplicativeCommutativeSemigroup[BigInt]

Inherited from Ring[BigInt]

Inherited from Rng[BigInt]

Inherited from AdditiveCommutativeGroup[BigInt]

Inherited from AdditiveGroup[BigInt]

Inherited from Rig[BigInt]

Inherited from MultiplicativeMonoid[BigInt]

Inherited from Semiring[BigInt]

Inherited from MultiplicativeSemigroup[BigInt]

Inherited from AdditiveCommutativeMonoid[BigInt]

Inherited from AdditiveCommutativeSemigroup[BigInt]

Inherited from AdditiveMonoid[BigInt]

Inherited from AdditiveSemigroup[BigInt]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped