squants.motion

Acceleration

case class Acceleration(change: Velocity, time: Time) extends Quantity[Acceleration] with TimeDerivative[Velocity] with TimeIntegral[Jerk] with Product with Serializable

Represents a quantity of acceleration

change

the change in velocity

time

the time interval

Since

0.1

Linear Supertypes
Product, Equals, TimeIntegral[Jerk], TimeDerivative[Velocity], Quantity[Acceleration], Serializable, Serializable, Ordered[Acceleration], Comparable[Acceleration], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Acceleration
  2. Product
  3. Equals
  4. TimeIntegral
  5. TimeDerivative
  6. Quantity
  7. Serializable
  8. Serializable
  9. Ordered
  10. Comparable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Acceleration(change: Velocity, time: Time)

    change

    the change in velocity

    time

    the time interval

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. def %(that: Acceleration): Double

    Definition Classes
    Quantity
  5. def %(that: Double): Acceleration

    Definition Classes
    Quantity
  6. def *(that: Mass): Force

  7. def *(that: time.Time): Velocity

    Returns the amount of change in the integral that will happen over the given Time

    Returns the amount of change in the integral that will happen over the given Time

    that

    Time

    returns

    Definition Classes
    TimeDerivative
  8. def *(that: Double): Acceleration

    Definition Classes
    Quantity
  9. def +(that: Acceleration): Acceleration

    Definition Classes
    Quantity
  10. def +-(that: Acceleration): QuantityRange[Acceleration]

    Definition Classes
    Quantity
  11. def -(that: Acceleration): Acceleration

    Definition Classes
    Quantity
  12. def /(that: Jerk): Time

    Returns the amount time required to achieve the given change in the Derivative

    Returns the amount time required to achieve the given change in the Derivative

    that

    Derivative

    returns

    Definition Classes
    AccelerationTimeIntegral
  13. def /(that: Time): Jerk

    Returns the Time Derivative which represents a change of the underlying quantity equal to this quantity over the given time.

    Returns the Time Derivative which represents a change of the underlying quantity equal to this quantity over the given time.

    that

    Time

    returns

    Definition Classes
    AccelerationTimeIntegral
  14. def /(that: Acceleration): Double

    Definition Classes
    Quantity
  15. def /(that: Double): Acceleration

    Definition Classes
    Quantity
  16. def /%(that: Acceleration): (Double, Acceleration)

    Definition Classes
    Quantity
  17. def /%(that: Double): (Acceleration, Acceleration)

    Definition Classes
    Quantity
  18. def <(that: Acceleration): Boolean

    Definition Classes
    Ordered
  19. def <=(that: Acceleration): Boolean

    Definition Classes
    Ordered
  20. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  22. def =~(that: Acceleration)(implicit tolerance: Acceleration): Boolean

    approx

    approx

    Definition Classes
    Quantity
  23. def >(that: Acceleration): Boolean

    Definition Classes
    Ordered
  24. def >=(that: Acceleration): Boolean

    Definition Classes
    Ordered
  25. def abs: Acceleration

    Returns the absolute value of this Quantity

    Returns the absolute value of this Quantity

    returns

    Quantity

    Definition Classes
    Quantity
  26. def approx(that: Acceleration)(implicit tolerance: Acceleration): Boolean

    Returns boolean result of approximate equality comparison

    Returns boolean result of approximate equality comparison

    that

    Quantity

    tolerance

    Quantity

    returns

    Definition Classes
    Quantity
  27. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  28. val change: Velocity

    the change in velocity

    the change in velocity

    Definition Classes
    AccelerationTimeDerivative
  29. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def compare(that: Acceleration): Int

    Implements Ordered.

    Implements Ordered.compare

    that

    Quantity

    returns

    Int

    Definition Classes
    Quantity → Ordered
  31. def compareTo(that: Acceleration): Int

    Definition Classes
    Ordered → Comparable
  32. def divide(that: Acceleration): Double

    Divide this quantity by a like quantity

    Divide this quantity by a like quantity

    that

    Quantity

    returns

    Double

    Definition Classes
    Quantity
  33. def divide(that: Double): Acceleration

    Divide this quantity by some number

    Divide this quantity by some number

    that

    Double

    returns

    Quantity

    Definition Classes
    Quantity
  34. def divideAndRemainder(that: Acceleration): (Double, Acceleration)

    Returns a Pair that includes the result of divideToInteger and remainder

    Returns a Pair that includes the result of divideToInteger and remainder

    that

    Quantity

    returns

    (Double, Quantity)

    Definition Classes
    Quantity
  35. def divideAndRemainder(that: Double): (Acceleration, Acceleration)

    Returns a Pair that includes the result of divideToInteger and remainder

    Returns a Pair that includes the result of divideToInteger and remainder

    that

    Double

    returns

    (Quantity, Quantity)

    Definition Classes
    Quantity
  36. final def eq(arg0: AnyRef): Boolean

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

    Override of equals method

    Override of equals method

    that

    must be of matching value and unit

    returns

    Definition Classes
    Quantity → AnyRef → Any
  38. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  39. final def getClass(): Class[_]

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

    Override of hashCode

    Override of hashCode

    returns

    Definition Classes
    Quantity → AnyRef → Any
  41. def in(unit: UnitOfMeasure[Acceleration]): Acceleration

    Returns an equivalent Quantity boxed with the supplied Unit

    Returns an equivalent Quantity boxed with the supplied Unit

    This is really only useful for Quantity classes that box at the UOM level e.g. Temperature and currently Time

    unit

    UnitOfMeasure[A]

    returns

    Quantity

    Definition Classes
    Quantity
  42. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  43. def max(that: Acceleration): Acceleration

    Returns the max of this and that Quantity

    Returns the max of this and that Quantity

    that

    Quantity

    returns

    Quantity

    Definition Classes
    Quantity
  44. def min(that: Acceleration): Acceleration

    Returns the min of this and that Quantity

    Returns the min of this and that Quantity

    that

    Quantity

    returns

    Quantity

    Definition Classes
    Quantity
  45. def minus(that: Acceleration): Acceleration

    Subtract two like quantities

    Subtract two like quantities

    that

    Quantity

    returns

    Quantity

    Definition Classes
    Quantity
  46. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  47. def negate: Acceleration

    Returns the negative value of this Quantity

    Returns the negative value of this Quantity

    returns

    Quantity

    Definition Classes
    Quantity
  48. def notWithin(range: QuantityRange[Acceleration]): Boolean

    Returns true if this value is not within (contains) the range

    Returns true if this value is not within (contains) the range

    range

    QuantityRange

    returns

    Boolean

    Definition Classes
    Quantity
  49. final def notify(): Unit

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

    Definition Classes
    AnyRef
  51. def plus(that: Acceleration): Acceleration

    Add two like quantities

    Add two like quantities

    that

    Quantity

    returns

    Quantity

    Definition Classes
    Quantity
  52. def plusOrMinus(that: Acceleration): QuantityRange[Acceleration]

    Returns a QuantityRange representing the range for this value +- that

    Returns a QuantityRange representing the range for this value +- that

    that

    Quantity

    returns

    QuantityRange

    Definition Classes
    Quantity
  53. def remainder(that: Acceleration): Double

    Returns the remainder of a division by a like quantity

    Returns the remainder of a division by a like quantity

    that

    Quantity

    returns

    Double

    Definition Classes
    Quantity
  54. def remainder(that: Double): Acceleration

    Returns the remainder of a division by a number

    Returns the remainder of a division by a number

    that

    Quantity

    returns

    Quantity

    Definition Classes
    Quantity
  55. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  56. val time: Time

    the time interval

    the time interval

    Definition Classes
    AccelerationTimeDerivative
  57. def times(that: Double): Acceleration

    Multiply this quantity by some number

    Multiply this quantity by some number

    that

    Double

    returns

    Quantity

    Definition Classes
    Quantity
  58. def to(unit: AccelerationUnit): Double

  59. def to(unit: UnitOfMeasure[Acceleration]): Double

    Returns a Double representing the quantity in terms of the supplied unit

    Returns a Double representing the quantity in terms of the supplied unit

    val d = Feet(3)
    (d to Inches) should be(36)
    unit

    UnitOfMeasure[A]

    returns

    Double

    Definition Classes
    Quantity
  60. def to(that: Acceleration): QuantityRange[Acceleration]

    Returns a QuantityRange that goes from this to that

    Returns a QuantityRange that goes from this to that

    that

    Quantity

    returns

    QuantityRange

    Definition Classes
    Quantity
  61. def toEarthGravities: Double

  62. def toFeetPerSecondSquared: Double

  63. def toMetersPerSecondSquared: Double

  64. def toString(unit: AccelerationUnit): String

  65. def toString(unit: UnitOfMeasure[Acceleration]): String

    Returns a string representing the quantity's value in the given unit

    Returns a string representing the quantity's value in the given unit

    unit

    UnitOfMeasure[A] with UnitConverter

    returns

    String

    Definition Classes
    Quantity
  66. def toString(): String

    Returns a string representing the quantity's value in valueUnits

    Returns a string representing the quantity's value in valueUnits

    returns

    String

    Definition Classes
    Quantity → AnyRef → Any
  67. def toUsMilesPerHourSquared: Double

  68. def unary_-(): Acceleration

    Definition Classes
    Quantity
  69. def value: Double

    The value of the quantity given the valueUnits

    The value of the quantity given the valueUnits

    returns

    Double

    Definition Classes
    AccelerationQuantity
  70. def valueUnit: MetersPerSecondSquared.type

    The Unit of Measure used for the quantity's underlying value

    The Unit of Measure used for the quantity's underlying value

    returns

    UnitOfMeasure[A]

    Definition Classes
    AccelerationQuantity
  71. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  74. def within(range: QuantityRange[Acceleration]): Boolean

    Returns true if this value is within (contains) the range

    Returns true if this value is within (contains) the range

    range

    QuantityRange

    returns

    Boolean

    Definition Classes
    Quantity
  75. def ~=(that: Acceleration)(implicit tolerance: Acceleration): Boolean

    approx - more natural operator but has low precedence and requires parens

    approx - more natural operator but has low precedence and requires parens

    Definition Classes
    Quantity

Inherited from Product

Inherited from Equals

Inherited from TimeIntegral[Jerk]

Inherited from TimeDerivative[Velocity]

Inherited from Quantity[Acceleration]

Inherited from Serializable

Inherited from Serializable

Inherited from Ordered[Acceleration]

Inherited from Comparable[Acceleration]

Inherited from AnyRef

Inherited from Any

Ungrouped