spire.std

BigIntAlgebra

Related Doc: package std

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

Annotations
@SerialVersionUID()
Linear Supertypes
BigIntIsReal, Serializable, Serializable, BigIntIsSigned, BigIntOrder, IsIntegral[BigInt], IsReal[BigInt], Signed[BigInt], Order[BigInt], PartialOrder[BigInt], Eq[BigInt], BigIntIsMetricSpace, MetricSpace[BigInt, BigInt], BigIntIsNRoot, NRoot[BigInt], BigIntIsEuclideanRing, EuclideanRing[BigInt], CRing[BigInt], MultiplicativeCMonoid[BigInt], MultiplicativeCSemigroup[BigInt], Ring[BigInt], Rng[BigInt], AdditiveAbGroup[BigInt], AdditiveCMonoid[BigInt], AdditiveCSemigroup[BigInt], AdditiveGroup[BigInt], Rig[BigInt], MultiplicativeMonoid[BigInt], Semiring[BigInt], MultiplicativeSemigroup[BigInt], AdditiveMonoid[BigInt], AdditiveSemigroup[BigInt], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BigIntAlgebra
  2. BigIntIsReal
  3. Serializable
  4. Serializable
  5. BigIntIsSigned
  6. BigIntOrder
  7. IsIntegral
  8. IsReal
  9. Signed
  10. Order
  11. PartialOrder
  12. Eq
  13. BigIntIsMetricSpace
  14. MetricSpace
  15. BigIntIsNRoot
  16. NRoot
  17. BigIntIsEuclideanRing
  18. EuclideanRing
  19. CRing
  20. MultiplicativeCMonoid
  21. MultiplicativeCSemigroup
  22. Ring
  23. Rng
  24. AdditiveAbGroup
  25. AdditiveCMonoid
  26. AdditiveCSemigroup
  27. AdditiveGroup
  28. Rig
  29. MultiplicativeMonoid
  30. Semiring
  31. MultiplicativeSemigroup
  32. AdditiveMonoid
  33. AdditiveSemigroup
  34. AnyRef
  35. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BigIntAlgebra()

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 abs(a: BigInt): BigInt

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

  6. final def asInstanceOf[T0]: T0

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

    Definition Classes
    IsIntegralIsReal
  8. def clone(): AnyRef

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

    Definition Classes
    BigIntOrderOrder
  10. def distance(v: BigInt, w: BigInt): BigInt

    Definition Classes
    BigIntIsMetricSpaceMetricSpace
  11. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  13. def eqv(x: BigInt, y: BigInt): Boolean

    Returns true if x and y are equivalent, false otherwise.

    Returns true if x and y are equivalent, false otherwise.

    Definition Classes
    BigIntOrderOrderPartialOrderEq
  14. final def euclid(a: BigInt, b: BigInt)(implicit eq: Eq[BigInt]): BigInt

    Attributes
    protected[this]
    Definition Classes
    EuclideanRing
    Annotations
    @tailrec()
  15. def finalize(): Unit

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

    Definition Classes
    IsIntegralIsReal
  17. def fpow(a: BigInt, b: BigInt): BigInt

    Definition Classes
    BigIntIsNRootNRoot
  18. def fromInt(n: Int): BigInt

    Defined to be equivalent to additive.sumn(one, n).

    Defined to be equivalent to additive.sumn(one, n). That is, n repeated summations of this ring's one, or -one if n is negative.

    Definition Classes
    BigIntIsEuclideanRingRing
  19. def gcd(a: BigInt, b: BigInt): BigInt

    Definition Classes
    BigIntIsEuclideanRingEuclideanRing
  20. final def getClass(): Class[_]

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

    Definition Classes
    BigIntOrderOrderPartialOrder
  22. def gteqv(x: BigInt, y: BigInt): Boolean

    Definition Classes
    BigIntOrderOrderPartialOrder
  23. def hashCode(): Int

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

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

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

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

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

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

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

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

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

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

    Tests if a is zero.

    Tests if a is zero.

    Definition Classes
    AdditiveMonoid
  34. def lcm(a: BigInt, b: BigInt): BigInt

    Definition Classes
    EuclideanRing
  35. def lt(x: BigInt, y: BigInt): Boolean

    Definition Classes
    BigIntOrderOrderPartialOrder
  36. def lteqv(x: BigInt, y: BigInt): Boolean

    Definition Classes
    BigIntOrderOrderPartialOrder
  37. def max(x: BigInt, y: BigInt): BigInt

    Definition Classes
    BigIntOrderOrder
  38. def min(x: BigInt, y: BigInt): BigInt

    Definition Classes
    BigIntOrderOrder
  39. def minus(a: BigInt, b: BigInt): BigInt

    Definition Classes
    BigIntIsEuclideanRingAdditiveGroup
  40. def mod(a: BigInt, b: BigInt): BigInt

    Definition Classes
    BigIntIsEuclideanRingEuclideanRing
  41. def multiplicative: CMonoid[BigInt]

  42. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  43. def negate(a: BigInt): BigInt

    Definition Classes
    BigIntIsEuclideanRingAdditiveGroup
  44. def neqv(x: BigInt, y: BigInt): Boolean

    Returns false if x and y are equivalent, true otherwise.

    Returns false if x and y are equivalent, true otherwise.

    Definition Classes
    BigIntOrderEq
  45. final def notify(): Unit

    Definition Classes
    AnyRef
  46. final def notifyAll(): Unit

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

    Definition Classes
    BigIntIsNRootNRoot
  48. def on[B](f: (B) ⇒ BigInt): Order[B]

    Defines an order on B by mapping B to A using f and using As order to order B.

    Defines an order on B by mapping B to A using f and using As order to order B.

    Definition Classes
    OrderPartialOrderEq
  49. val one: BigInt

  50. def partialCompare(x: BigInt, y: BigInt): Double

    Result of comparing x with y.

    Result of comparing x with y. Returns NaN if operands are not comparable. If operands are comparable, returns a Double whose sign is: - negative iff x < y - zero iff x === y - positive iff x > y

    Definition Classes
    OrderPartialOrder
  51. def plus(a: BigInt, b: BigInt): BigInt

  52. def pmax(x: BigInt, y: BigInt): Option[BigInt]

    Returns Some(x) if x >= y, Some(y) if x < y, otherwise None.

    Returns Some(x) if x >= y, Some(y) if x < y, otherwise None.

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

    Returns Some(x) if x <= y, Some(y) if x > y, otherwise None.

    Returns Some(x) if x <= y, Some(y) if x > y, otherwise None.

    Definition Classes
    PartialOrder
  54. def pow(a: BigInt, b: Int): BigInt

    This is similar to Semigroup#pow, except that a pow 0 is defined to be the multiplicative identity.

    This is similar to Semigroup#pow, except that a pow 0 is defined to be the multiplicative identity.

    Definition Classes
    BigIntIsEuclideanRingRigSemiring
  55. def prod(as: TraversableOnce[BigInt]): BigInt

    Given a sequence of as, sum them using the monoid and return the total.

    Given a sequence of as, sum them using the monoid and return the total.

    Definition Classes
    MultiplicativeMonoid
  56. def prodOption(as: TraversableOnce[BigInt]): Option[BigInt]

    Given a sequence of as, sum them using the semigroup and return the total.

    Given a sequence of as, sum them using the semigroup and return the total.

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

    Definition Classes
    MultiplicativeSemigroup
  57. def prodn(a: BigInt, n: Int): BigInt

    Return a multiplied with itself n times.

    Return a multiplied with itself n times.

    Definition Classes
    MultiplicativeMonoidMultiplicativeSemigroup
  58. def prodnAboveOne(a: BigInt, n: Int): BigInt

    Attributes
    protected
    Definition Classes
    MultiplicativeSemigroup
  59. def quot(a: BigInt, b: BigInt): BigInt

    Definition Classes
    BigIntIsEuclideanRingEuclideanRing
  60. def quotmod(a: BigInt, b: BigInt): (BigInt, BigInt)

    Definition Classes
    BigIntIsEuclideanRingEuclideanRing
  61. def reverse: Order[BigInt]

    Defines an ordering on A where all arrows switch direction.

    Defines an ordering on A where all arrows switch direction.

    Definition Classes
    OrderPartialOrder
  62. def round(a: BigInt): BigInt

    Definition Classes
    IsIntegralIsReal
  63. def sign(a: BigInt): Sign

    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
  64. def signum(a: BigInt): Int

    Returns 0 if a is 0, > 0 if a is positive, and < 0 is a is negative.

    Returns 0 if a is 0, > 0 if a is positive, and < 0 is a is negative.

    Definition Classes
    BigIntIsSignedSigned
  65. def sqrt(a: BigInt): BigInt

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

    Given a sequence of as, sum them using the monoid and return the total.

    Given a sequence of as, sum them using the monoid and return the total.

    Definition Classes
    AdditiveMonoid
  67. def sumOption(as: TraversableOnce[BigInt]): Option[BigInt]

    Given a sequence of as, sum them using the semigroup and return the total.

    Given a sequence of as, sum them using the semigroup and return the total.

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

    Definition Classes
    AdditiveSemigroup
  68. def sumn(a: BigInt, n: Int): BigInt

    Return a added with itself n times.

    Return a added with itself n times.

    Definition Classes
    AdditiveGroupAdditiveMonoidAdditiveSemigroup
  69. def sumnAboveOne(a: BigInt, n: Int): BigInt

    Attributes
    protected
    Definition Classes
    AdditiveSemigroup
  70. final def synchronized[T0](arg0: ⇒ T0): T0

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

  72. def toDouble(n: BigInt): Double

    Definition Classes
    BigIntIsRealIsReal
  73. def toString(): String

    Definition Classes
    AnyRef → Any
  74. def tryCompare(x: BigInt, y: BigInt): Option[Int]

    Result of comparing x with y.

    Result of comparing x with y. Returns None if operands are not comparable. If operands are comparable, returns Some[Int] where the Int sign is: - negative iff x < y - zero iff x == y - positive iff x > y

    Definition Classes
    PartialOrder
  75. final def wait(): Unit

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

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

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

    Definition Classes
    BigIntIsEuclideanRingAdditiveMonoid

Inherited from BigIntIsReal

Inherited from Serializable

Inherited from Serializable

Inherited from BigIntIsSigned

Inherited from BigIntOrder

Inherited from IsIntegral[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 CRing[BigInt]

Inherited from MultiplicativeCMonoid[BigInt]

Inherited from MultiplicativeCSemigroup[BigInt]

Inherited from Ring[BigInt]

Inherited from Rng[BigInt]

Inherited from AdditiveAbGroup[BigInt]

Inherited from AdditiveCMonoid[BigInt]

Inherited from AdditiveCSemigroup[BigInt]

Inherited from AdditiveGroup[BigInt]

Inherited from Rig[BigInt]

Inherited from MultiplicativeMonoid[BigInt]

Inherited from Semiring[BigInt]

Inherited from MultiplicativeSemigroup[BigInt]

Inherited from AdditiveMonoid[BigInt]

Inherited from AdditiveSemigroup[BigInt]

Inherited from AnyRef

Inherited from Any

Ungrouped