BigIntTruncatedDivison
Attributes
- Source:
- bigInt.scala
- Graph
- Supertypes
- trait forCommutativeRing[BigInt]trait TruncatedDivision[BigInt]class BigIntAlgebratrait EuclideanRing[BigInt]trait CommutativeRing[BigInt]trait CommutativeRng[BigInt]trait CommutativeRig[BigInt]trait CommutativeSemiring[BigInt]trait AdditiveCommutativeGroup[BigInt]trait AdditiveGroup[BigInt]trait MultiplicativeMonoid[BigInt]trait MultiplicativeSemigroup[BigInt]trait AdditiveCommutativeMonoid[BigInt]trait AdditiveMonoid[BigInt]trait AdditiveSemigroup[BigInt]trait Serializableclass Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Attributes
- Definition Classes
- Source:
- bigInt.scala
Attributes
- Definition Classes
- Source:
- bigInt.scala
Attributes
- Definition Classes
- Source:
- bigInt.scala
Inherited methods
An idempotent function that ensures an object has a non-negative sign.
An idempotent function that ensures an object has a non-negative sign.
Attributes
- Inherited from:
- forAdditiveCommutativeGroup
- Source:
- Signed.scala
Attributes
- Definition Classes
- Inherited from:
- AdditiveCommutativeGroup
- Source:
- Additive.scala
Attributes
- Definition Classes
- Inherited from:
- forAdditiveCommutativeMonoid
- Source:
- Signed.scala
Attributes
- Inherited from:
- BigIntAlgebra
- Source:
- bigInt.scala
Attributes
- Inherited from:
- BigIntAlgebra
- Source:
- bigInt.scala
Attributes
- Definition Classes
- Inherited from:
- BigIntAlgebra
- Source:
- bigInt.scala
Attributes
- Inherited from:
- BigIntAlgebra
- Source:
- bigInt.scala
Attributes
- Inherited from:
- forCommutativeRing
- Source:
- TruncatedDivision.scala
Attributes
- Inherited from:
- forCommutativeRing
- Source:
- TruncatedDivision.scala
Attributes
- Definition Classes
- Inherited from:
- forCommutativeRing
- Source:
- TruncatedDivision.scala
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.
Attributes
- Definition Classes
- Inherited from:
- BigIntAlgebra
- Source:
- bigInt.scala
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.
Attributes
- Definition Classes
- Inherited from:
- BigIntAlgebra
- Source:
- bigInt.scala
Attributes
- Definition Classes
- Inherited from:
- BigIntAlgebra
- Source:
- bigInt.scala
Tests if a
is one.
Attributes
- Inherited from:
- Signed
- Source:
- Signed.scala
Attributes
- Inherited from:
- Signed
- Source:
- Signed.scala
Attributes
- Inherited from:
- Signed
- Source:
- Signed.scala
Attributes
- Inherited from:
- Signed
- Source:
- Signed.scala
Attributes
- Inherited from:
- Signed
- Source:
- Signed.scala
Attributes
- Inherited from:
- Signed
- Source:
- Signed.scala
Tests if a
is zero.
Attributes
- Definition Classes
- Inherited from:
- BigIntAlgebra
- Source:
- bigInt.scala
Attributes
- Definition Classes
- Inherited from:
- BigIntAlgebra
- Source:
- bigInt.scala
Attributes
- Definition Classes
- Inherited from:
- MultiplicativeCommutativeMonoid
- Source:
- Multiplicative.scala
Attributes
- Inherited from:
- BigIntAlgebra
- Source:
- bigInt.scala
Attributes
- Inherited from:
- BigIntAlgebra
- Source:
- bigInt.scala
Attributes
- Definition Classes
- Inherited from:
- BigIntAlgebra
- Source:
- bigInt.scala
Given a sequence of as
, compute the product.
Given a sequence of as
, compute the product.
Attributes
- Inherited from:
- MultiplicativeMonoid
- Source:
- Multiplicative.scala
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.
Attributes
- Inherited from:
- Signed
- Source:
- Signed.scala
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.
Attributes
- Inherited from:
- forAdditiveCommutativeMonoid
- Source:
- Signed.scala
Given a sequence of as
, compute the sum.
Given a sequence of as
, compute the sum.
Attributes
- Inherited from:
- AdditiveMonoid
- Source:
- Additive.scala
Attributes
- Definition Classes
- Inherited from:
- AdditiveGroup
- Source:
- Additive.scala
Attributes
- Inherited from:
- BigIntAlgebra
- Source:
- bigInt.scala
Attributes
- Inherited from:
- TruncatedDivision
- Source:
- TruncatedDivision.scala
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).
Attributes
- Definition Classes
- Inherited from:
- MultiplicativeMonoid
- Source:
- Multiplicative.scala
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).
Attributes
- Definition Classes
- Inherited from:
- AdditiveMonoid
- Source:
- Additive.scala
Inherited fields
Attributes
- Inherited from:
- BigIntAlgebra
- Source:
- bigInt.scala
Attributes
- Inherited from:
- BigIntAlgebra
- Source:
- bigInt.scala