Trait

spire.std

BigIntIsEuclideanRing

Related Doc: package std

Permalink

trait BigIntIsEuclideanRing extends EuclideanRing[BigInt]

Linear Supertypes
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
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BigIntIsEuclideanRing
  2. EuclideanRing
  3. CRing
  4. MultiplicativeCMonoid
  5. MultiplicativeCSemigroup
  6. Ring
  7. Rng
  8. AdditiveAbGroup
  9. AdditiveCMonoid
  10. AdditiveCSemigroup
  11. AdditiveGroup
  12. Rig
  13. MultiplicativeMonoid
  14. Semiring
  15. MultiplicativeSemigroup
  16. AdditiveMonoid
  17. AdditiveSemigroup
  18. AnyRef
  19. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 additive: AbGroup[BigInt]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. final def euclid(a: BigInt, b: BigInt)(implicit eq: Eq[BigInt]): BigInt

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromInt(n: Int): BigInt

    Permalink

    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
  12. def gcd(a: BigInt, b: BigInt): BigInt

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

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

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

    Permalink
    Definition Classes
    MultiplicativeMonoid
  17. def isZero(a: BigInt)(implicit ev: Eq[BigInt]): Boolean

    Permalink

    Tests if a is zero.

    Tests if a is zero.

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

    Permalink
    Definition Classes
    EuclideanRing
  19. def minus(a: BigInt, b: BigInt): BigInt

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

    Permalink
    Definition Classes
    BigIntIsEuclideanRingEuclideanRing
  21. def multiplicative: CMonoid[BigInt]

    Permalink
  22. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    BigIntIsEuclideanRingAdditiveGroup
  24. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  26. val one: BigInt

    Permalink
  27. def plus(a: BigInt, b: BigInt): BigInt

    Permalink
  28. def pow(a: BigInt, b: Int): BigInt

    Permalink

    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
  29. def prod(as: TraversableOnce[BigInt]): BigInt

    Permalink

    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
  30. def prodOption(as: TraversableOnce[BigInt]): Option[BigInt]

    Permalink

    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
  31. def prodn(a: BigInt, n: Int): BigInt

    Permalink

    Return a multiplied with itself n times.

    Return a multiplied with itself n times.

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

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

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

    Permalink
    Definition Classes
    BigIntIsEuclideanRingEuclideanRing
  35. def sum(as: TraversableOnce[BigInt]): BigInt

    Permalink

    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
  36. def sumOption(as: TraversableOnce[BigInt]): Option[BigInt]

    Permalink

    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
  37. def sumn(a: BigInt, n: Int): BigInt

    Permalink

    Return a added with itself n times.

    Return a added with itself n times.

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

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

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

    Permalink
  41. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  42. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    BigIntIsEuclideanRingAdditiveMonoid

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