Class/Object

spire.math

Jet

Related Docs: object Jet | package math

Permalink

final case class Jet[T](real: T, infinitesimal: Array[T]) extends ScalaNumber with ScalaNumericConversions with Serializable with Product

Self Type
Jet[T]
Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Serializable, ScalaNumericConversions, ScalaNumericAnyConversions, ScalaNumber, java.lang.Number, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Jet
  2. Product
  3. Equals
  4. Serializable
  5. ScalaNumericConversions
  6. ScalaNumericAnyConversions
  7. ScalaNumber
  8. Number
  9. Serializable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Jet(real: T, infinitesimal: Array[T])

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def %(b: Jet[T])(implicit c: scala.reflect.ClassTag[T], f: Field[T], r: IsReal[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink
  4. def *(b: Jet[T])(implicit f: Field[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink
  5. def *(b: T)(implicit f: Field[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink
  6. def **(b: Jet[T])(implicit c: scala.reflect.ClassTag[T], e: Eq[T], f: Field[T], s: Signed[T], t: Trig[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink
  7. def **(b: Int)(implicit e: Eq[T], f: Field[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink
  8. def +(b: Jet[T])(implicit f: Field[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink
  9. def +(b: T)(implicit f: Field[T]): Jet[T]

    Permalink
  10. def -(b: Jet[T])(implicit f: Field[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink
  11. def -(b: T)(implicit f: Field[T]): Jet[T]

    Permalink
  12. def /(b: Jet[T])(implicit f: Field[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink
  13. def /(b: T)(implicit f: Field[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink
  14. def /%(b: Jet[T])(implicit c: scala.reflect.ClassTag[T], f: Field[T], r: IsReal[T], v: VectorSpace[Array[T], T]): (Jet[T], Jet[T])

    Permalink
  15. def /~(b: Jet[T])(implicit c: scala.reflect.ClassTag[T], f: Field[T], r: IsReal[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink
  16. def =!=(that: Jet[_]): Boolean

    Permalink
  17. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. def ===(that: Jet[_]): Boolean

    Permalink
  19. def abs()(implicit f: Field[T], s: Signed[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink

    abs(x + du) ~= x + du or -(x + du)

  20. def acos()(implicit f: Field[T], n: NRoot[T], t: Trig[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink

    acos(a + du) ~= acos(a) - 1 / sqrt(1 - a**2) du

  21. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  22. def asTuple: (T, Array[T])

    Permalink
  23. def asin()(implicit f: Field[T], n: NRoot[T], t: Trig[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink

    asin(a + du) ~= asin(a) - 1 / sqrt(1 - a**2) du

  24. def atan()(implicit f: Field[T], n: NRoot[T], t: Trig[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink

    atan(a + du) ~= atan(a) + 1 / (1 + a**2) du

  25. def atan2(a: Jet[T])(implicit f: Field[T], t: Trig[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink

    Defined with "this" as the y coordinate: this.atan2(a) == atan2(this, a) == atan(this / a) atan2(b + dv, a + du) ~= atan2(b, a) + (- b du + a dv) / (a2 + b2)

  26. def byteValue(): Byte

    Permalink
    Definition Classes
    Jet → ScalaNumericAnyConversions → Number
  27. def ceil()(implicit c: scala.reflect.ClassTag[T], r: IsReal[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink
  28. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def cos()(implicit f: Field[T], t: Trig[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink

    cos(a + du) ~= cos(a) - sin(a) du

  30. def cosh()(implicit f: Field[T], t: Trig[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink

    cosh(a + du) ~= cosh(a) + sinh(a) du

  31. def dimension: Int

    Permalink
  32. def doubleValue(): Double

    Permalink
    Definition Classes
    Jet → ScalaNumericAnyConversions → Number
  33. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  34. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    Jet → Equals → AnyRef → Any
  35. def eqv(b: Jet[T])(implicit o: Eq[T]): Boolean

    Permalink
  36. def exp()(implicit f: Field[T], t: Trig[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink

    exp(a + du) ~= exp(a) + exp(a) du

  37. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  38. def floatValue(): Float

    Permalink
    Definition Classes
    Jet → ScalaNumericAnyConversions → Number
  39. def floor()(implicit c: scala.reflect.ClassTag[T], r: IsReal[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink
  40. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Jet → AnyRef → Any
  42. val infinitesimal: Array[T]

    Permalink
  43. def intValue(): Int

    Permalink
    Definition Classes
    Jet → ScalaNumericAnyConversions → Number
  44. def isInfinitesimal(implicit s: Signed[T]): Boolean

    Permalink
  45. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  46. def isReal: Boolean

    Permalink
  47. def isValidByte: Boolean

    Permalink
    Definition Classes
    ScalaNumericAnyConversions
  48. def isValidChar: Boolean

    Permalink
    Definition Classes
    ScalaNumericAnyConversions
  49. def isValidInt: Boolean

    Permalink
    Definition Classes
    Jet → ScalaNumericAnyConversions
  50. def isValidShort: Boolean

    Permalink
    Definition Classes
    ScalaNumericAnyConversions
  51. def isWhole(): Boolean

    Permalink
    Definition Classes
    Jet → ScalaNumericAnyConversions → ScalaNumber
  52. def isZero: Boolean

    Permalink
  53. implicit def jetDimension: JetDim

    Permalink
  54. def log()(implicit f: Field[T], t: Trig[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink

    log(a + du) ~= log(a) + du / a

  55. def longValue(): Long

    Permalink
    Definition Classes
    Jet → ScalaNumericAnyConversions → Number
  56. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  57. def neqv(b: Jet[T])(implicit o: Eq[T]): Boolean

    Permalink
  58. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  60. def nroot(k: Int)(implicit e: Eq[T], f: Field[T], s: Signed[T], t: Trig[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink
  61. def pow(b: Jet[T])(implicit c: scala.reflect.ClassTag[T], e: Eq[T], f: Field[T], m: CModule[Array[T], T], s: Signed[T], t: Trig[T]): Jet[T]

    Permalink

    pow -- both base (this) and exponent are differentiable functions.

    pow -- both base (this) and exponent are differentiable functions. (a + du)(b + dv) ~= ab + b * a(b-1) du + ab log(a) dv

  62. def pow(p: Int)(implicit f: Field[T], e: Eq[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink
  63. def pow(p: T)(implicit e: Eq[T], f: Field[T], s: Signed[T], t: Trig[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink

    pow -- base (this) is a differentiable function, exponent is a constant.

    pow -- base (this) is a differentiable function, exponent is a constant. pow(a + du, p) ~= pow(a, p) + p * pow(a, p-1) du

  64. def powScalarToJet(a: T)(implicit c: scala.reflect.ClassTag[T], e: Eq[T], f: Field[T], m: CModule[Array[T], T], s: Signed[T], t: Trig[T]): Jet[T]

    Permalink
  65. val real: T

    Permalink
  66. def round()(implicit c: scala.reflect.ClassTag[T], r: IsReal[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink
  67. def shortValue(): Short

    Permalink
    Definition Classes
    Jet → ScalaNumericAnyConversions → Number
  68. def signum()(implicit r: Signed[T]): Int

    Permalink

    This is consistent with abs

  69. def sin()(implicit f: Field[T], t: Trig[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink

    sin(a + du) ~= sin(a) + cos(a) du

  70. def sinh()(implicit f: Field[T], t: Trig[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink

    sinh(a + du) ~= sinh(a) + cosh(a) du

  71. def sqrt()(implicit f: Field[T], n: NRoot[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink

    sqrt(a + du) ~= sqrt(a) + du / (2 sqrt(a))

  72. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  73. def tan()(implicit f: Field[T], t: Trig[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink

    tan(a + du) ~= tan(a) + (1 + tan(a)**2) du

  74. def tanh()(implicit f: Field[T], t: Trig[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink

    tanh(a + du) ~= tanh(a) + (1 - tanh(a)**2) du

  75. def toByte: Byte

    Permalink
    Definition Classes
    ScalaNumericAnyConversions
  76. def toChar: Char

    Permalink
    Definition Classes
    ScalaNumericAnyConversions
  77. def toDouble: Double

    Permalink
    Definition Classes
    ScalaNumericAnyConversions
  78. def toFloat: Float

    Permalink
    Definition Classes
    ScalaNumericAnyConversions
  79. def toInt: Int

    Permalink
    Definition Classes
    ScalaNumericAnyConversions
  80. def toLong: Long

    Permalink
    Definition Classes
    ScalaNumericAnyConversions
  81. def toShort: Short

    Permalink
    Definition Classes
    ScalaNumericAnyConversions
  82. def toString(): String

    Permalink
    Definition Classes
    Jet → AnyRef → Any
  83. def unary_-()(implicit f: Field[T], v: VectorSpace[Array[T], T]): Jet[T]

    Permalink
  84. def underlying(): AnyRef

    Permalink
    Definition Classes
    Jet → ScalaNumericConversions → ScalaNumericAnyConversions → ScalaNumber
  85. def unifiedPrimitiveEquals(x: Any): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    ScalaNumericAnyConversions
  86. def unifiedPrimitiveHashcode(): Int

    Permalink
    Attributes
    protected
    Definition Classes
    ScalaNumericAnyConversions
  87. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from Serializable

Inherited from ScalaNumericConversions

Inherited from ScalaNumericAnyConversions

Inherited from ScalaNumber

Inherited from java.lang.Number

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped