spire

math

package math

Visibility
  1. Public
  2. All

Type Members

  1. trait Approximation[A, B, C] extends (A, B) ⇒ C

    A typeclass approach for getting an approximation to an A using error B in type C.

  2. case class ApproximationContext[A](error: A) extends Product with Serializable

  3. trait BigDecimalEq extends Eq[BigDecimal]

  4. trait BigDecimalIsFractional extends Fractional[BigDecimal] with BigDecimalIsField with BigDecimalIsNRoot with ConvertableFromBigDecimal with ConvertableToBigDecimal with BigDecimalOrder with BigDecimalIsSigned

  5. trait BigDecimalIsNumeric extends Numeric[BigDecimal] with BigDecimalIsField with BigDecimalIsNRoot with ConvertableFromBigDecimal with ConvertableToBigDecimal with BigDecimalOrder with BigDecimalIsSigned

  6. trait BigDecimalIsTrig extends Trig[BigDecimal]

  7. trait BigDecimalOrder extends Order[BigDecimal] with BigDecimalEq

  8. trait BigIntEq extends Eq[BigInt]

  9. trait BigIntIsIntegral extends Integral[BigInt] with BigIntIsEuclideanRing with ConvertableFromBigInt with ConvertableToBigInt with BigIntOrder with BigIntIsSigned

  10. trait BigIntIsNumeric extends Numeric[BigInt] with BigIntIsEuclideanRing with BigIntIsNRoot with ConvertableFromBigInt with ConvertableToBigInt with BigIntOrder with BigIntIsSigned

  11. trait BigIntOrder extends Order[BigInt] with BigIntEq

  12. sealed trait Bound[T] extends AnyRef

    A Bound represents one side of an interval; it is parameterized on T, the ordered type covered by the interval.

  13. class BoundEuclideanRingOps[T] extends AnyRef

    This class provides operators for Bound[T] instances when T is a member of the EuclideanRing typeclass (i.

  14. class BoundFieldOps[T] extends AnyRef

    This class provides operators for Bound[T] instances when T is a member of the Field typeclass (i.

  15. class BoundRingOps[T] extends AnyRef

    This class provides operators for Bound[T] instances when T is a member of the Ring typeclass (i.

  16. trait ByteEq extends Eq[Byte]

  17. sealed trait Closed[T] extends AnyRef

    Closed is a closed bound (the interval contains this boundary limit).

  18. case class ClosedAbove[T](x: T)(implicit order: Order[T]) extends Upper[T] with Closed[T] with Product with Serializable

    ClosedAbove is a closed upper bound, i.

  19. case class ClosedBelow[T](x: T)(implicit order: Order[T]) extends Lower[T] with Closed[T] with Product with Serializable

    ClosedBelow is a closed lower bound, i.

  20. final class Complex[T] extends ScalaNumber with ScalaNumericConversions with Serializable

  21. trait ComplexEq[A] extends Eq[Complex[A]]

  22. class ComplexIsNumeric[A] extends ComplexIsField[A] with Numeric[Complex[A]] with ComplexEq[A] with NRoot[Complex[A]] with ConvertableFromComplex[A] with ConvertableToComplex[A] with Order[Complex[A]] with ComplexIsSigned[A]

  23. case class ContinuousInterval[T](lower: Lower[T], upper: Upper[T])(implicit evidence$12: Fractional[T]) extends GenContinuousInterval[T, ContinuousInterval[T]] with Product with Serializable

    ContinuousInterval represents a lower and upper bound of an ordered type T, where T is a member of EuclideanRing.

  24. trait ConvertableFrom[A] extends AnyRef

  25. trait ConvertableFromBigDecimal extends ConvertableFrom[BigDecimal]

  26. trait ConvertableFromBigInt extends ConvertableFrom[BigInt]

  27. trait ConvertableFromByte extends ConvertableFrom[Byte]

  28. trait ConvertableFromComplex[A] extends ConvertableFrom[Complex[A]]

  29. class ConvertableFromComplexCls[A] extends ConvertableFromComplex[A]

  30. trait ConvertableFromDouble extends ConvertableFrom[Double]

  31. trait ConvertableFromFloat extends ConvertableFrom[Float]

  32. trait ConvertableFromInt extends ConvertableFrom[Int]

  33. trait ConvertableFromLong extends ConvertableFrom[Long]

  34. final class ConvertableFromOps[A] extends AnyRef

  35. trait ConvertableFromRational extends ConvertableFrom[Rational]

  36. trait ConvertableFromReal extends ConvertableFrom[Real]

  37. trait ConvertableFromShort extends ConvertableFrom[Short]

  38. trait ConvertableTo[A] extends AnyRef

  39. trait ConvertableToBigDecimal extends ConvertableTo[BigDecimal]

  40. trait ConvertableToBigInt extends ConvertableTo[BigInt]

  41. trait ConvertableToByte extends ConvertableTo[Byte]

  42. trait ConvertableToComplex[A] extends ConvertableTo[Complex[A]]

  43. class ConvertableToComplexCls[A] extends ConvertableToComplex[A]

  44. trait ConvertableToDouble extends ConvertableTo[Double]

  45. trait ConvertableToFloat extends ConvertableTo[Float]

  46. trait ConvertableToInt extends ConvertableTo[Int]

  47. trait ConvertableToLong extends ConvertableTo[Long]

  48. trait ConvertableToRational extends ConvertableTo[Rational]

  49. trait ConvertableToReal extends ConvertableTo[Real]

  50. trait ConvertableToShort extends ConvertableTo[Short]

  51. case class DecimalNumber(n: BigDecimal) extends Number with Product with Serializable

    Attributes
    protected
  52. case class DiscreteInterval[T](lower: Lower[T], upper: Upper[T])(implicit evidence$11: Integral[T]) extends GenDiscreteInterval[T, DiscreteInterval[T]] with Product with Serializable

    DiscreteInterval represents a lower and upper bound of an ordered type T, where T is a member of EuclideanRing.

  53. trait DoubleEq extends Eq[Double]

  54. trait DoubleIsFractional extends Fractional[Double] with DoubleIsField with DoubleIsNRoot with ConvertableFromDouble with ConvertableToDouble with DoubleOrder with DoubleIsSigned

  55. trait DoubleIsNumeric extends Numeric[Double] with DoubleIsField with DoubleIsNRoot with ConvertableFromDouble with ConvertableToDouble with DoubleOrder with DoubleIsSigned

  56. trait DoubleIsTrig extends Trig[Double]

  57. trait DoubleOrder extends Order[Double] with DoubleEq

  58. trait Eq[A] extends AnyRef

  59. final class EqOps[A] extends AnyRef

  60. class EuLiterals extends AnyRef

  61. final class FloatComplex extends AnyVal

  62. trait FloatEq extends Eq[Float]

  63. trait FloatIsFractional extends Fractional[Float] with FloatIsField with FloatIsNRoot with ConvertableFromFloat with ConvertableToFloat with FloatOrder with FloatIsSigned

  64. trait FloatIsNumeric extends Numeric[Float] with FloatIsField with FloatIsNRoot with ConvertableFromFloat with ConvertableToFloat with FloatOrder with FloatIsSigned

  65. trait FloatIsTrig extends Trig[Float]

  66. case class FloatNumber(n: Double) extends Number with Product with Serializable

    Attributes
    protected
  67. trait FloatOrder extends Order[Float] with FloatEq

  68. trait Fraction[A] extends AnyRef

  69. trait Fractional[A] extends Field[A] with NRoot[A] with Integral[A]

  70. class FractionalOps[A] extends AnyRef

  71. abstract class GenContinuousInterval[T, U <: GenContinuousInterval[T, U]] extends GenRingInterval[T, U]

    GenContinuousInterval is an interval whose T is a member of Field.

  72. abstract class GenDiscreteInterval[T, U <: GenDiscreteInterval[T, U]] extends GenRingInterval[T, U]

    GenDiscreteInterval is an interval whose T is a member of EuclideanRing.

  73. abstract class GenInterval[T, U <: GenInterval[T, U]] extends AnyRef

    GenInterval is a trait representing the most generic kind of interval.

  74. abstract class GenRingInterval[T, U <: GenRingInterval[T, U]] extends GenInterval[T, U]

    GenRingInterval is an interval whose T is a member of Ring.

  75. trait GenericCeilAndFloor[A] extends AnyRef

    A generic implementation of ceil/floor that can be mixed in.

  76. trait HighBranchingMedianOf5 extends AnyRef

  77. trait IntEq extends Eq[Int]

  78. trait IntIsIntegral extends Integral[Int] with IntIsEuclideanRing with ConvertableFromInt with ConvertableToInt with IntOrder with IntIsSigned

  79. trait IntIsNumeric extends Numeric[Int] with IntIsEuclideanRing with IntIsNRoot with ConvertableFromInt with ConvertableToInt with IntOrder with IntIsSigned

  80. case class IntNumber(n: SafeLong) extends Number with Product with Serializable

    Number with an underlying Long representation.

  81. trait IntOrder extends Order[Int] with IntEq

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

  83. class IntegralOps[A] extends AnyRef

  84. case class Interval[T](lower: Lower[T], upper: Upper[T])(implicit evidence$8: Order[T]) extends GenInterval[T, Interval[T]] with Product with Serializable

    Interval represents a lower and upper bound of an ordered type T.

  85. case class InvalidNumber(msg: String) extends Exception with Product with Serializable

  86. class Literals extends AnyRef

  87. trait LongEq extends Eq[Long]

  88. trait LongIsIntegral extends Integral[Long] with LongIsEuclideanRing with ConvertableFromLong with ConvertableToLong with LongOrder with LongIsSigned

  89. trait LongIsNumeric extends Numeric[Long] with LongIsEuclideanRing with LongIsNRoot with ConvertableFromLong with ConvertableToLong with LongOrder with LongIsSigned

  90. trait LongOrder extends Order[Long] with LongEq

  91. trait LowPriority extends AnyRef

  92. sealed trait Lower[T] extends Bound[T]

    Lower represents a Bound which is a lower bound.

  93. trait MutatingMedianOf5 extends AnyRef

  94. sealed trait Number extends ScalaNumericConversions with Ordered[Number]

  95. case class NumberOutOfRange(msg: String) extends Exception with Product with Serializable

  96. trait Numeric[A] extends Field[A] with NRoot[A] with ConvertableFrom[A] with ConvertableTo[A] with Order[A] with Signed[A]

    TODO 3.

  97. sealed trait Open[T] extends AnyRef

    Open is a open bound (the interval does not contain this boundary limit).

  98. case class OpenAbove[T](x: T)(implicit order: Order[T]) extends Upper[T] with Open[T] with Product with Serializable

    OpenAbove is an open upper bound, i.

  99. case class OpenBelow[T](x: T)(implicit order: Order[T]) extends Lower[T] with Open[T] with Product with Serializable

    OpenBelow is an open lower bound, i.

  100. trait Order[A] extends Eq[A]

  101. final class OrderOps[A] extends AnyRef

  102. class Radix extends AnyRef

  103. sealed abstract class Rational extends ScalaNumber with ScalaNumericConversions with Ordered[Rational]

  104. trait RationalEq extends Eq[Rational]

  105. trait RationalIsFractional extends Fractional[Rational] with RationalIsField with RationalIsNRoot with ConvertableFromRational with ConvertableToRational with RationalOrder with RationalIsSigned with GenericCeilAndFloor[Rational]

  106. trait RationalIsNumeric extends Numeric[Rational] with RationalIsField with RationalIsNRoot with ConvertableFromRational with ConvertableToRational with RationalOrder with RationalIsSigned

  107. trait RationalOrder extends Order[Rational] with RationalEq

  108. abstract class Rationals[A] extends AnyRef

    Attributes
    protected
  109. final class Real extends ScalaNumber with ScalaNumericConversions with RealLike[Real] with BMFSSBound[Real] with BigDecimalApprox[Real] with FPFilter[Real] with ConstantFolder[Real] with BubbleUpDivs[Real] with PrettyToString[Real] with Ordered[Real]

    An general Real type.

  110. trait RealEq extends Eq[Real]

  111. trait RealIsFractional extends Fractional[Real] with RealIsField with RealIsNRoot with ConvertableFromReal with ConvertableToReal with RealOrder with RealIsSigned with GenericCeilAndFloor[Real]

  112. trait RealIsNumeric extends Numeric[Real] with RealIsField with RealIsNRoot with ConvertableFromReal with ConvertableToReal with RealOrder with RealIsSigned

  113. trait RealOrder extends Order[Real] with RealEq

  114. case class RingInterval[T](lower: Lower[T], upper: Upper[T])(implicit evidence$9: Order[T], evidence$10: Ring[T]) extends GenRingInterval[T, RingInterval[T]] with Product with Serializable

    RingInterval represents a lower and upper bound of an ordered type T, where T is a member of Ring.

  115. sealed trait SafeLong extends Ordered[SafeLong]

    Provides a type to do safe long arithmetic.

  116. case class SafeLongBigInt extends SafeLong with Product with Serializable

  117. case class SafeLongLong extends SafeLong with Product with Serializable

  118. trait Select extends AnyRef

  119. trait SelectLike extends Select

    Given a function for finding approximate medians, this will create an exact median finder.

  120. trait ShortEq extends Eq[Short]

  121. class SiLiterals extends AnyRef

  122. trait Sort extends AnyRef

    Interface for a sorting strategy object.

  123. trait Trig[A] extends AnyRef

  124. sealed trait Unbound[T] extends Bound[T]

    Unbound represents a boundary which does not limit its "side" of the interval, i.

  125. case class UnboundAbove[T]()(implicit order: Order[T]) extends Upper[T] with Unbound[T] with Product with Serializable

    UnboundAbove represents an unrestrainted upper bound, i.

  126. case class UnboundBelow[T]()(implicit order: Order[T]) extends Lower[T] with Unbound[T] with Product with Serializable

    UnboundBelow represents an unrestrainted lower bound, i.

  127. sealed trait Upper[T] extends Bound[T]

    Upper represents a Bound which is an upper bound.

  128. class UsLiterals extends AnyRef

Value Members

  1. object Approximation

  2. object ApproximationContext extends Serializable

  3. object BigDecimalIsTrig

  4. object BigRationals extends Rationals[BigInt]

  5. object Complex extends Serializable

  6. object ConvertableFrom

  7. object ConvertableTo

  8. object Eq extends LowPriority

  9. object FastComplex

    FastComplex is an ugly, beautiful hack.

  10. object FloatComplex

  11. object Fractional

  12. object InsertionSort extends Sort

    Simple implementation of insertion sort.

  13. object Integral

  14. object LinearSelect extends SelectLike with HighBranchingMedianOf5

  15. object LongRationals extends Rationals[Long]

  16. object MergeSort extends Sort

    In-place merge sort implementation.

  17. object Number

    Convenient apply and implicits for Numbers

  18. object Numeric

  19. object Order

  20. object QuickSelect extends SelectLike with HighBranchingMedianOf5

  21. object QuickSort

    In-place quicksort implementation.

  22. object Rational extends Serializable

  23. object Real extends Serializable

  24. object SafeLong

  25. object Selection

  26. object Sorting

    Object providing in-place sorting capability for arrays.

  27. object Trig

  28. package fpf

  29. object fun

  30. package real

Ungrouped