Packages

t

squants

DimensionlessUnit

trait DimensionlessUnit extends UnitOfMeasure[Dimensionless] with UnitConverter

Base trait for units of squants.Dimensionless

The DimensionlessUnit is a useful paradox

Source
Dimensionless.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DimensionlessUnit
  2. UnitConverter
  3. UnitOfMeasure
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def conversionFactor: Double

    Defines a multiplier value relative to the Quantity's squants.PrimaryUnit

    Defines a multiplier value relative to the Quantity's squants.PrimaryUnit

    Attributes
    protected
    Definition Classes
    UnitConverter
  2. abstract def symbol: String

    Symbol used when representing Quantities in this UnitOfMeasure

    Symbol used when representing Quantities in this UnitOfMeasure

    Definition Classes
    UnitOfMeasure

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[A](n: A)(implicit num: Numeric[A]): Dimensionless

    Factory method for creating instances of a Quantity in this UnitOfMeasure

    Factory method for creating instances of a Quantity in this UnitOfMeasure

    n

    N - the Quantity's value in terms of this UnitOfMeasure

    Definition Classes
    DimensionlessUnitUnitOfMeasure
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def convertFrom[N](n: N)(implicit num: Numeric[N]): Double

    Applies the converterFrom method to a value

    Applies the converterFrom method to a value

    N

    Type

    n

    N value in terms of this Unit

    num

    Numeric[N]

    Definition Classes
    UnitOfMeasure
  8. final def convertTo[N](n: N)(implicit num: Numeric[N]): Double

    Applies the converterTo method to a value

    Applies the converterTo method to a value

    N

    Type

    n

    N value in terms of teh ValueUnit

    num

    Numeric[N]

    Definition Classes
    UnitOfMeasure
  9. def converterFrom: (Double) ⇒ Double

    Implements the converterFrom method as a simple product of the value and the multiplier

    Implements the converterFrom method as a simple product of the value and the multiplier

    Attributes
    protected
    Definition Classes
    UnitConverter
  10. def converterTo: (Double) ⇒ Double

    Implements the converterTo method as a simple quotient of the value and the multiplier

    Implements the converterTo method as a simple quotient of the value and the multiplier

    Attributes
    protected
    Definition Classes
    UnitConverter
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. def unapply(q: Dimensionless): Some[Double]

    Extractor method for getting the Numeric value of a Quantity in this UnitOfMeasure

    Extractor method for getting the Numeric value of a Quantity in this UnitOfMeasure

    q

    A - The Quantity being matched

    Definition Classes
    UnitOfMeasure
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from UnitConverter

Inherited from UnitOfMeasure[Dimensionless]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped