io.github.karols.units

DoubleU

final case class DoubleU[U <: MUnit](value: Double) extends AnyVal with Product with Serializable

Double-precision floating-point value representing a value with a unit of measure.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyVal, NotNull, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DoubleU
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyVal
  7. NotNull
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DoubleU(value: Double)

Value Members

  1. def !=(i: DoubleU[U]): Boolean

    Annotations
    @inline()
  2. def !=(i: IntU[U]): Boolean

    Annotations
    @inline()
  3. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  4. def !=~[V <: MUnit, W <: MUnit](i: DoubleU[V])(implicit arg0: <:<[((W) ⇒ Nothing) ⇒ Nothing, ((U) ⇒ Nothing with (V) ⇒ Nothing) ⇒ Nothing], l: LeftIntRatio[U, V, W], r: RightIntRatio[U, V, W]): Boolean

    Annotations
    @inline()
  5. def !=~[V <: MUnit, W <: MUnit](i: IntU[V])(implicit arg0: <:<[((W) ⇒ Nothing) ⇒ Nothing, ((U) ⇒ Nothing with (V) ⇒ Nothing) ⇒ Nothing], l: LeftIntRatio[U, V, W], r: RightIntRatio[U, V, W]): Boolean

    Annotations
    @inline()
  6. final def ##(): Int

    Definition Classes
    Any
  7. def *(i: Float): DoubleU[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  8. def *(i: Byte): DoubleU[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  9. def *(i: Short): DoubleU[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  10. def *(i: Int): DoubleU[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  11. def *[V <: MUnit](i: DoubleU[V]): DoubleU[U.Mul[V]]

    Multiply by a value with a unit.

    Multiply by a value with a unit.

    Annotations
    @inline()
  12. def *[V <: MUnit](i: IntU[V]): DoubleU[U.Mul[V]]

    Multiply by a value with a unit.

    Multiply by a value with a unit.

    Annotations
    @inline()
  13. def *[V <: MUnit](i: Vector3U[V]): Vector3U[*.V.Mul[U]]

    Multiply by a vector.

    Multiply by a vector.

    Annotations
    @inline()
  14. def *[V <: MUnit](i: Vector2U[V]): Vector2U[*.V.Mul[U]]

    Multiply by a vector.

    Multiply by a vector.

    Annotations
    @inline()
  15. def +[V <: MUnit, W <: MUnit](i: DoubleU[V])(implicit arg0: <:<[((W) ⇒ Nothing) ⇒ Nothing, ((U) ⇒ Nothing with (V) ⇒ Nothing) ⇒ Nothing], l: LeftIntRatio[U, V, W], r: RightIntRatio[U, V, W]): DoubleU[W]

    Add a value with a different unit, coercing to the smaller of them.

    Add a value with a different unit, coercing to the smaller of them.

    Annotations
    @inline()
  16. def +[V <: MUnit, W <: MUnit](i: IntU[V])(implicit arg0: <:<[((W) ⇒ Nothing) ⇒ Nothing, ((U) ⇒ Nothing with (V) ⇒ Nothing) ⇒ Nothing], l: LeftIntRatio[U, V, W], r: RightIntRatio[U, V, W]): DoubleU[W]

    Add a value with a different unit, coercing to the smaller of them.

    Add a value with a different unit, coercing to the smaller of them.

    Annotations
    @inline()
  17. def +(i: DoubleU[U]): DoubleU[U]

    Add a value with the same unit.

    Add a value with the same unit.

    Annotations
    @inline()
  18. def +(i: IntU[U]): DoubleU[U]

    Add a value with the same unit.

    Add a value with the same unit.

    Annotations
    @inline()
  19. def -[V <: MUnit, W <: MUnit](i: DoubleU[V])(implicit arg0: <:<[((W) ⇒ Nothing) ⇒ Nothing, ((U) ⇒ Nothing with (V) ⇒ Nothing) ⇒ Nothing], l: LeftIntRatio[U, V, W], r: RightIntRatio[U, V, W]): DoubleU[W]

    Subtract a value with a different unit, coercing to the smaller of them.

    Subtract a value with a different unit, coercing to the smaller of them.

    Annotations
    @inline()
  20. def -[V <: MUnit, W <: MUnit](i: IntU[V])(implicit arg0: <:<[((W) ⇒ Nothing) ⇒ Nothing, ((U) ⇒ Nothing with (V) ⇒ Nothing) ⇒ Nothing], l: LeftIntRatio[U, V, W], r: RightIntRatio[U, V, W]): DoubleU[W]

    Subtract a value with a different unit, coercing to the smaller of them.

    Subtract a value with a different unit, coercing to the smaller of them.

    Annotations
    @inline()
  21. def -(i: DoubleU[U]): DoubleU[U]

    Subtract a value with the same unit.

    Subtract a value with the same unit.

    Annotations
    @inline()
  22. def -(i: IntU[U]): DoubleU[U]

    Subtract a value with the same unit.

    Subtract a value with the same unit.

    Annotations
    @inline()
  23. def /(i: Float): DoubleU[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  24. def /(i: Byte): DoubleU[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  25. def /(i: Short): DoubleU[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  26. def /(i: Int): DoubleU[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  27. def /[V <: MUnit](i: DoubleU[V]): DoubleU[U.Mul[/.V.Invert]]

    Divide by a value with a unit.

    Divide by a value with a unit.

    Annotations
    @inline()
  28. def /[V <: MUnit](i: IntU[V]): DoubleU[U.Mul[/.V.Invert]]

    Divide by a value with a unit.

    Divide by a value with a unit.

    Annotations
    @inline()
  29. def <(i: DoubleU[U]): Boolean

    Annotations
    @inline()
  30. def <(i: IntU[U]): Boolean

    Annotations
    @inline()
  31. def <=(i: DoubleU[U]): Boolean

    Annotations
    @inline()
  32. def <=(i: IntU[U]): Boolean

    Annotations
    @inline()
  33. def <=~[V <: MUnit](i: DoubleU[V])(implicit ev: DoubleRatio[U, V]): Boolean

    Annotations
    @inline()
  34. def <=~[V <: MUnit](i: IntU[V])(implicit ev: DoubleRatio[U, V]): Boolean

    Annotations
    @inline()
  35. def <~[V <: MUnit](i: DoubleU[V])(implicit ev: DoubleRatio[U, V]): Boolean

    Annotations
    @inline()
  36. def <~[V <: MUnit](i: IntU[V])(implicit ev: DoubleRatio[U, V]): Boolean

    Annotations
    @inline()
  37. def ==(i: DoubleU[U]): Boolean

    Annotations
    @inline()
  38. def ==(i: IntU[U]): Boolean

    Annotations
    @inline()
  39. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  40. def ==~[V <: MUnit, W <: MUnit](i: DoubleU[V])(implicit arg0: <:<[((W) ⇒ Nothing) ⇒ Nothing, ((U) ⇒ Nothing with (V) ⇒ Nothing) ⇒ Nothing], l: LeftIntRatio[U, V, W], r: RightIntRatio[U, V, W]): Boolean

    Annotations
    @inline()
  41. def ==~[V <: MUnit, W <: MUnit](i: IntU[V])(implicit arg0: <:<[((W) ⇒ Nothing) ⇒ Nothing, ((U) ⇒ Nothing with (V) ⇒ Nothing) ⇒ Nothing], l: LeftIntRatio[U, V, W], r: RightIntRatio[U, V, W]): Boolean

    Annotations
    @inline()
  42. def >(i: DoubleU[U]): Boolean

    Annotations
    @inline()
  43. def >(i: IntU[U]): Boolean

    Annotations
    @inline()
  44. def >=(i: DoubleU[U]): Boolean

    Annotations
    @inline()
  45. def >=(i: IntU[U]): Boolean

    Annotations
    @inline()
  46. def >=~[V <: MUnit](i: DoubleU[V])(implicit ev: DoubleRatio[U, V]): Boolean

    Annotations
    @inline()
  47. def >=~[V <: MUnit](i: IntU[V])(implicit ev: DoubleRatio[U, V]): Boolean

    Annotations
    @inline()
  48. def >~[V <: MUnit](i: DoubleU[V])(implicit ev: DoubleRatio[U, V]): Boolean

    Annotations
    @inline()
  49. def >~[V <: MUnit](i: IntU[V])(implicit ev: DoubleRatio[U, V]): Boolean

    Annotations
    @inline()
  50. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  51. def cbrt: DoubleU[U.Cbrt]

    Cube root.

    Cube root.

    Annotations
    @inline()
  52. def convert[V <: MUnit](implicit ev: DoubleRatio[U, V]): DoubleU[V]

    Convert to another unit.

    Convert to another unit.

    Annotations
    @inline()
  53. def dividedBy(i: Float): DoubleU[U]

    Divide by a dimensionless value.

    Divide by a dimensionless value.

    Annotations
    @inline()
  54. def dividedBy(i: Double): DoubleU[U]

    Divide by a dimensionless value.

    Divide by a dimensionless value.

    Annotations
    @inline()
  55. def dividedBy(i: Byte): DoubleU[U]

    Divide by a dimensionless value.

    Divide by a dimensionless value.

    Annotations
    @inline()
  56. def dividedBy(i: Short): DoubleU[U]

    Divide by a dimensionless value.

    Divide by a dimensionless value.

    Annotations
    @inline()
  57. def dividedBy(i: Int): DoubleU[U]

    Divide by a dimensionless value.

    Divide by a dimensionless value.

    Annotations
    @inline()
  58. def dividedBy(i: Long): DoubleU[U]

    Divide by a dimensionless value.

    Divide by a dimensionless value.

    Annotations
    @inline()
  59. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  60. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  61. def mkString(implicit name: UnitName[U]): String

    Annotations
    @inline()
  62. def per[V <: MUnit]: DoubleU[/[U, V]]

    Divide the unit of this value by another unit.

    Divide the unit of this value by another unit.

    Annotations
    @inline()
  63. def pow2: DoubleU[U.Mul[U]]

    Square.

    Square.

    Annotations
    @inline()
  64. def pow3: DoubleU[MUnit.Mul.Mul[U]]

    Cube.

    Cube.

    Annotations
    @inline()
  65. def pow4: DoubleU[MUnit.Mul.Mul[U]]

    Fourth power.

    Fourth power.

    Annotations
    @inline()
  66. def represent[V <: MUnit, W <: MUnit](implicit ev: DoubleRatio[V, W]): DoubleU[MUnit.Mul.Mul[W]]

    Annotations
    @inline()
  67. def representAll[V <: TUnitPowerPair, W <: MUnit](implicit ev: PowerDoubleRatio[representAll.V.UnitName, representAll.V.Power, W, U.Get[representAll.V.UnitName]]): DoubleU[MUnit.Mul.Mul[representAll.W.ToPower[U.Get[representAll.V.UnitName]]]]

    Annotations
    @inline()
  68. def sqrt: DoubleU[U.Sqrt]

    Square root.

    Square root.

    Annotations
    @inline()
  69. def times(i: Float): DoubleU[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  70. def times(i: Double): DoubleU[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  71. def times(i: Byte): DoubleU[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  72. def times(i: Short): DoubleU[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  73. def times(i: Int): DoubleU[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  74. def times(i: Long): DoubleU[U]

    Multiply by a dimensionless value.

    Multiply by a dimensionless value.

    Annotations
    @inline()
  75. def times[V <: MUnit](i: Vector3U[V]): Vector3U[times.V.Mul[U]]

    Multiply by a vector.

    Multiply by a vector.

    Annotations
    @inline()
  76. def times[V <: MUnit](i: Vector2U[V]): Vector2U[times.V.Mul[U]]

    Multiply by a vector.

    Multiply by a vector.

    Annotations
    @inline()
  77. def toString(): String

    Definition Classes
    DoubleU → Any
    Annotations
    @inline()
  78. def unary_-: DoubleU[U]

    Negate this value.

    Negate this value.

    Annotations
    @inline()
  79. val value: Double

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Ungrouped