spire.math

Integral

trait Integral[A] extends EuclideanRing[A] with ConvertableFrom[A] with ConvertableTo[A] with Order[A] with Signed[A]

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Integral
  2. Signed
  3. Order
  4. Eq
  5. ConvertableTo
  6. ConvertableFrom
  7. EuclideanRing
  8. Ring
  9. Rng
  10. AdditiveAbGroup
  11. AdditiveGroup
  12. Rig
  13. MultiplicativeMonoid
  14. AdditiveMonoid
  15. Semiring
  16. MultiplicativeSemigroup
  17. AdditiveSemigroup
  18. AnyRef
  19. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def abs(a: A): A

    Definition Classes
    Signed
  2. abstract def compare(x: A, y: A): Int

    Definition Classes
    Order
  3. abstract def eqv(x: A, y: A): Boolean

    Definition Classes
    Eq
  4. abstract def fromBigDecimal(n: BigDecimal): A

    Definition Classes
    ConvertableTo
  5. abstract def fromBigInt(n: BigInt): A

    Definition Classes
    ConvertableTo
  6. abstract def fromByte(n: Byte): A

    Definition Classes
    ConvertableTo
  7. abstract def fromDouble(n: Double): A

    Definition Classes
    ConvertableTo
  8. abstract def fromFloat(n: Float): A

    Definition Classes
    ConvertableTo
  9. abstract def fromLong(n: Long): A

    Definition Classes
    ConvertableTo
  10. abstract def fromRational(n: Rational): A

    Definition Classes
    ConvertableTo
  11. abstract def fromShort(n: Short): A

    Definition Classes
    ConvertableTo
  12. abstract def fromType[B](b: B)(implicit arg0: ConvertableFrom[B]): A

    Definition Classes
    ConvertableTo
  13. abstract def gcd(a: A, b: A): A

    Definition Classes
    EuclideanRing
  14. abstract def mod(a: A, b: A): A

    Definition Classes
    EuclideanRing
  15. abstract def negate(x: A): A

    Definition Classes
    AdditiveGroup
  16. abstract def one: A

    Definition Classes
    MultiplicativeMonoid
  17. abstract def plus(x: A, y: A): A

    Definition Classes
    AdditiveSemigroup
  18. abstract def quot(a: A, b: A): A

    Definition Classes
    EuclideanRing
  19. abstract def signum(a: A): Int

    Definition Classes
    Signed
  20. abstract def times(x: A, y: A): A

    Definition Classes
    MultiplicativeSemigroup
  21. abstract def toBigDecimal(a: A): BigDecimal

    Definition Classes
    ConvertableFrom
  22. abstract def toBigInt(a: A): BigInt

    Definition Classes
    ConvertableFrom
  23. abstract def toByte(a: A): Byte

    Definition Classes
    ConvertableFrom
  24. abstract def toDouble(a: A): Double

    Definition Classes
    ConvertableFrom
  25. abstract def toFloat(a: A): Float

    Definition Classes
    ConvertableFrom
  26. abstract def toInt(a: A): Int

    Definition Classes
    ConvertableFrom
  27. abstract def toLong(a: A): Long

    Definition Classes
    ConvertableFrom
  28. abstract def toNumber(a: A): Number

    Definition Classes
    ConvertableFrom
  29. abstract def toRational(a: A): Rational

    Definition Classes
    ConvertableFrom
  30. abstract def toShort(a: A): Short

    Definition Classes
    ConvertableFrom
  31. abstract def toString(a: A): String

    Definition Classes
    ConvertableFrom
  32. abstract def toType[B](a: A)(implicit arg0: ConvertableTo[B]): B

    Definition Classes
    ConvertableFrom
  33. abstract def zero: A

    Definition Classes
    AdditiveMonoid

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def additive: AbGroup[A]

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

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

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

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def fromInt(n: Int): A

    Definition Classes
    Ring
  14. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  15. def gt(x: A, y: A): Boolean

    Definition Classes
    Order
  16. def gteqv(x: A, y: A): Boolean

    Definition Classes
    Order
  17. def hashCode(): Int

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

    Definition Classes
    Any
  19. def isNegative(x: A): Boolean

  20. def isNonzero(x: A): Boolean

  21. def isPositive(x: A): Boolean

  22. def isZero(x: A): Boolean

  23. def lt(x: A, y: A): Boolean

    Definition Classes
    Order
  24. def lteqv(x: A, y: A): Boolean

    Definition Classes
    Order
  25. def max(x: A, y: A): A

    Definition Classes
    Order
  26. def min(x: A, y: A): A

    Definition Classes
    Order
  27. def minus(x: A, y: A): A

    Definition Classes
    AdditiveGroup
  28. def multiplicative: Monoid[A]

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

    Definition Classes
    AnyRef
  30. def neqv(x: A, y: A): Boolean

    Definition Classes
    Eq
  31. final def notify(): Unit

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

    Definition Classes
    AnyRef
  33. def on[B](f: (B) ⇒ A): Order[B]

    Definition Classes
    OrderEq
  34. def pow(a: A, n: Int): A

    Definition Classes
    RigSemiring
  35. def quotmod(a: A, b: A): (A, A)

    Definition Classes
    EuclideanRing
  36. def reverse: Order[A]

    Definition Classes
    Order
  37. def sign(a: A): Sign

    Definition Classes
    Signed
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Signed[A]

Inherited from Order[A]

Inherited from Eq[A]

Inherited from ConvertableTo[A]

Inherited from ConvertableFrom[A]

Inherited from EuclideanRing[A]

Inherited from Ring[A]

Inherited from Rng[A]

Inherited from AdditiveAbGroup[A]

Inherited from AdditiveGroup[A]

Inherited from Rig[A]

Inherited from MultiplicativeMonoid[A]

Inherited from AdditiveMonoid[A]

Inherited from Semiring[A]

Inherited from MultiplicativeSemigroup[A]

Inherited from AdditiveSemigroup[A]

Inherited from AnyRef

Inherited from Any