Packages

o

spire.math.SafeLongInstances

SafeLongAlgebra

implicit object SafeLongAlgebra extends SafeLongIsEuclideanRing with SafeLongIsNRoot with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SafeLongAlgebra
  2. Serializable
  3. Serializable
  4. SafeLongIsNRoot
  5. NRoot
  6. SafeLongIsEuclideanRing
  7. SafeLongIsRing
  8. EuclideanRing
  9. CRing
  10. MultiplicativeCMonoid
  11. MultiplicativeCSemigroup
  12. Ring
  13. Rng
  14. AdditiveAbGroup
  15. AdditiveCMonoid
  16. AdditiveCSemigroup
  17. AdditiveGroup
  18. Rig
  19. MultiplicativeMonoid
  20. Semiring
  21. MultiplicativeSemigroup
  22. AdditiveMonoid
  23. AdditiveSemigroup
  24. AnyRef
  25. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 additive: AbGroup[SafeLong]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def euclid(a: SafeLong, b: SafeLong)(implicit eq: Eq[SafeLong]): SafeLong
    Attributes
    protected[this]
    Definition Classes
    EuclideanRing
    Annotations
    @tailrec()
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fpow(a: SafeLong, b: SafeLong): SafeLong
    Definition Classes
    SafeLongIsNRoot → NRoot
  12. def fromInt(n: Int): SafeLong

    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
    SafeLongIsRing → Ring
  13. def gcd(a: SafeLong, b: SafeLong): SafeLong
    Definition Classes
    SafeLongIsEuclideanRing → EuclideanRing
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isOne(a: SafeLong)(implicit ev: Eq[SafeLong]): Boolean
    Definition Classes
    MultiplicativeMonoid
  18. def isZero(a: SafeLong)(implicit ev: Eq[SafeLong]): Boolean

    Tests if a is zero.

    Tests if a is zero.

    Definition Classes
    AdditiveMonoid
  19. def lcm(a: SafeLong, b: SafeLong): SafeLong
    Definition Classes
    EuclideanRing
  20. def minus(a: SafeLong, b: SafeLong): SafeLong
    Definition Classes
    SafeLongIsRing → AdditiveGroup
  21. def mod(a: SafeLong, b: SafeLong): SafeLong
    Definition Classes
    SafeLongIsEuclideanRing → EuclideanRing
  22. def multiplicative: CMonoid[SafeLong]
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def negate(a: SafeLong): SafeLong
    Definition Classes
    SafeLongIsRing → AdditiveGroup
  25. final def notify(): Unit
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  27. def nroot(a: SafeLong, k: Int): SafeLong
    Definition Classes
    SafeLongIsNRoot → NRoot
  28. val one: SafeLong
    Definition Classes
    SafeLongIsRing → MultiplicativeMonoid
  29. def plus(a: SafeLong, b: SafeLong): SafeLong
    Definition Classes
    SafeLongIsRing → AdditiveSemigroup
  30. def pow(a: SafeLong, b: Int): SafeLong

    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
    SafeLongIsRing → RigSemiring
  31. def prod(as: TraversableOnce[SafeLong]): SafeLong

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

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

    Return a multiplied with itself n times.

    Return a multiplied with itself n times.

    Definition Classes
    MultiplicativeMonoidMultiplicativeSemigroup
  34. def prodnAboveOne(a: SafeLong, n: Int): SafeLong
    Attributes
    protected
    Definition Classes
    MultiplicativeSemigroup
  35. def quot(a: SafeLong, b: SafeLong): SafeLong
    Definition Classes
    SafeLongIsEuclideanRing → EuclideanRing
  36. def quotmod(a: SafeLong, b: SafeLong): (SafeLong, SafeLong)
    Definition Classes
    SafeLongIsEuclideanRing → EuclideanRing
  37. def sqrt(a: SafeLong): SafeLong
    Definition Classes
    NRoot
  38. def sum(as: TraversableOnce[SafeLong]): SafeLong

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

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

    Return a added with itself n times.

    Return a added with itself n times.

    Definition Classes
    AdditiveGroupAdditiveMonoidAdditiveSemigroup
  41. def sumnAboveOne(a: SafeLong, n: Int): SafeLong
    Attributes
    protected
    Definition Classes
    AdditiveSemigroup
  42. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  43. def times(a: SafeLong, b: SafeLong): SafeLong
    Definition Classes
    SafeLongIsRing → MultiplicativeSemigroup
  44. def toString(): String
    Definition Classes
    AnyRef → Any
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. val zero: SafeLong
    Definition Classes
    SafeLongIsRing → AdditiveMonoid

Inherited from Serializable

Inherited from Serializable

Inherited from SafeLongIsNRoot

Inherited from NRoot[SafeLong]

Inherited from SafeLongIsEuclideanRing

Inherited from SafeLongIsRing

Inherited from EuclideanRing[SafeLong]

Inherited from CRing[SafeLong]

Inherited from Ring[SafeLong]

Inherited from Rng[SafeLong]

Inherited from AdditiveAbGroup[SafeLong]

Inherited from AdditiveCMonoid[SafeLong]

Inherited from AdditiveCSemigroup[SafeLong]

Inherited from AdditiveGroup[SafeLong]

Inherited from Rig[SafeLong]

Inherited from MultiplicativeMonoid[SafeLong]

Inherited from Semiring[SafeLong]

Inherited from AdditiveMonoid[SafeLong]

Inherited from AdditiveSemigroup[SafeLong]

Inherited from AnyRef

Inherited from Any

Ungrouped