Trait

com.quantarray.skylark.measure

Measure

Related Doc: package measure

Permalink

trait Measure[Self <: Measure[Self]] extends UntypedMeasure

Measure.

The guiding principle(s) of design is and should be:

1. Construction of a measure should be fast, without any recursion/iteration to perform simplification. 2. Compute-intensive methods, such as reduce, perform simplification and should be called only when necessary.

Self Type
Self
Linear Supertypes
UntypedMeasure, Dynamic, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Measure
  2. UntypedMeasure
  3. Dynamic
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. abstract type D <: Dimension[Self.D]

    Permalink

Abstract Value Members

  1. abstract def composes(name: String, system: SystemOfUnits): Self

    Permalink
  2. abstract def dimension: Self.D

    Permalink

    Gets dimension of this measure.

    Gets dimension of this measure.

    Definition Classes
    MeasureUntypedMeasure
  3. abstract val name: String

    Permalink

    Measure name.

  4. abstract def system: SystemOfUnits

    Permalink

    Gets system of units.

    Gets system of units.

    Definition Classes
    UntypedMeasure

Concrete 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](multiplier: M2)(implicit cm: CanMultiply[Self, M2, R]): R

    Permalink

    Turns this measure into a general ProductMeasure.

  4. def +[M2 <: Measure[M2]](that: M2)(implicit ev: =:=[Self, M2]): Self

    Permalink
  5. def -[M2 <: Measure[M2]](that: M2)(implicit ev: =:=[Self, M2]): Self

    Permalink
  6. def /[M2 <: Measure[M2], R](denominator: M2)(implicit cd: CanDivide[Self, M2, R]): R

    Permalink

    Turns this measure into a general RatioMeasure.

  7. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def ^[R](exponent: Double)(implicit ce: CanExponentiate[Self, R]): R

    Permalink

    Turns this measure into a general ExponentialMeasure.

  9. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def collect[B](pf: PartialFunction[Self, B]): B

    Permalink
    Annotations
    @inline()
  12. def composes(name: String): Self

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def exponent: Double

    Permalink

    Gets exponent of this measure.

    Gets exponent of this measure.

    Definition Classes
    UntypedMeasure
  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. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. def inverse[R](implicit ce: CanExponentiate[Self, R]): R

    Permalink

    Gets an inverse of this measure.

  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. val isStructuralAtom: Boolean

    Permalink

    Determines if this measure can be decomposed into constituent measures.

    Determines if this measure can be decomposed into constituent measures.

    Definition Classes
    UntypedMeasure
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def reduce[R](implicit cr: CanReduce[Self, R]): R

    Permalink
  26. final val structuralName: String

    Permalink

    Gets structural name of this measure.

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

    Permalink
    Definition Classes
    AnyRef
  28. def to[M2 <: Measure[M2]](target: M2)(implicit cc: CanConvert[Self, M2]): Option[Double]

    Permalink

    Converts to target measure.

  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

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

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

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

Inherited from UntypedMeasure

Inherited from Dynamic

Inherited from AnyRef

Inherited from Any

Ungrouped