Class

com.quantarray.skylark.measure

Quantity

Related Doc: package measure

Permalink

case class Quantity[N, M <: Measure[M]](value: N, measure: M)(implicit qn: QuasiNumeric[N]) extends measure.untyped.Quantity[N] with Product with Serializable

Quantity.

Linear Supertypes
Product, Equals, untyped.Quantity[N], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Quantity
  2. Product
  3. Equals
  4. Quantity
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Quantity(value: N, measure: M)(implicit qn: QuasiNumeric[N])

    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 *[M2 <: Measure[M2], R <: Measure[R]](quantity: Quantity[N, M2])(implicit cm: CanMultiply[M, M2, R]): Quantity[N, R]

    Permalink
  4. def *(constant: Double): Quantity[N, M]

    Permalink
    Definition Classes
    QuantityQuantity
  5. def +[M2 <: Measure[M2]](quantity: Quantity[N, M2])(implicit cc: CanConvert[M2, M]): Option[Quantity[N, M]]

    Permalink
  6. def +(constant: N): Quantity[N, M]

    Permalink
    Definition Classes
    QuantityQuantity
  7. def -[M2 <: Measure[M2]](quantity: Quantity[N, M2])(implicit cc: CanConvert[M2, M]): Option[Quantity[N, M]]

    Permalink
  8. def -(constant: N): Quantity[N, M]

    Permalink
    Definition Classes
    QuantityQuantity
  9. def /[M2 <: Measure[M2], R <: Measure[R]](quantity: Quantity[N, M2])(implicit cd: CanDivide[M, M2, R]): Quantity[N, R]

    Permalink
  10. def /(constant: Double): Quantity[N, M]

    Permalink
    Definition Classes
    QuantityQuantity
  11. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def ^[R <: Measure[R]](exponent: Double)(implicit ce: CanExponentiate[M, R]): Quantity[N, R]

    Permalink
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  16. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    Any
  19. val measure: M

    Permalink
    Definition Classes
    QuantityQuantity
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  23. implicit val qn: QuasiNumeric[N]

    Permalink
    Definition Classes
    QuantityQuantity
  24. def simplify[R <: Measure[R]](implicit cs: CanSimplify[M, Option[R]]): Option[Quantity[N, R]]

    Permalink
  25. def simplify(implicit cs: CanSimplify[untyped.Measure, untyped.Measure]): untyped.Quantity[N]

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

    Permalink
    Definition Classes
    AnyRef
  27. def to[M2 <: Measure[M2]](target: M2)(implicit cc: CanConvert[M, M2]): Option[Quantity[N, M2]]

    Permalink
  28. def to(target: untyped.Measure)(implicit cc: CanConvert[untyped.Measure, untyped.Measure]): Option[untyped.Quantity[N]]

    Permalink
    Definition Classes
    Quantity
  29. def toOrElse[M2 <: Measure[M2]](target: M2, default: Quantity[N, M2])(implicit cc: CanConvert[M, M2]): Quantity[N, M2]

    Permalink
  30. def toOrElse(target: untyped.Measure, default: untyped.Quantity[N])(implicit cc: CanConvert[untyped.Measure, untyped.Measure]): untyped.Quantity[N]

    Permalink
    Definition Classes
    Quantity
  31. def toString(): String

    Permalink
    Definition Classes
    Quantity → AnyRef → Any
  32. def unary_-(): Quantity[N, M]

    Permalink
  33. val value: N

    Permalink
    Definition Classes
    QuantityQuantity
  34. final def wait(): Unit

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

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

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

Inherited from Product

Inherited from Equals

Inherited from untyped.Quantity[N]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped