Package

com.quantarray.skylark

measure

Permalink

package measure

Linear Supertypes
DefaultDimensions, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. measure
  2. DefaultDimensions
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class AmountDimension() extends Dimension[AmountDimension] with Product with Serializable

    Permalink
    Definition Classes
    DefaultDimensions
  2. type AngularFrequencyDimension = RatioDimension[NoDimension, TimeDimension]

    Permalink
    Definition Classes
    DefaultDimensions
  3. trait AnyDimension extends Product with Serializable

    Permalink

    Any dimension.

  4. trait AnyExponentialDimension extends AnyDimension

    Permalink
  5. trait AnyExponentialMeasure extends AnyMeasure

    Permalink
  6. trait AnyMeasure extends Product with Serializable with Dynamic

    Permalink

    Any measure.

  7. trait AnyMeasureConverter extends SameTypeConverter[AnyMeasure]

    Permalink

    Any measure converter.

  8. trait AnyMeasureParsers extends JavaTokenParsers

    Permalink

    Any measure parsers.

  9. trait AnyProductDimension extends AnyDimension

    Permalink
  10. trait AnyProductMeasure extends AnyMeasure

    Permalink
  11. trait AnyRatioDimension extends AnyDimension

    Permalink
  12. trait AnyRatioMeasure extends AnyMeasure

    Permalink
  13. case class AreaMeasure(name: String, system: SystemOfUnits, base: Option[(AreaMeasure, Double)] = None) extends Measure[AreaMeasure] with Product with Serializable

    Permalink

    Area measure.

  14. case class BinaryMultiple(prefix: String, powerOf2: Int) extends Product with Serializable

    Permalink

    Binary multiple

  15. trait CanAddMeasure[A1, A2] extends AnyRef

    Permalink

    Can add measure type class.

    Can add measure type class.

    Annotations
    @implicitNotFound( ... )
  16. trait CanAddQuantity[N, M1, Q1[_, _], M2, Q2, RM] extends AnyRef

    Permalink

    Can add quantity type class.

    Can add quantity type class.

    Annotations
    @implicitNotFound( ... )
  17. trait CanConvert[From, To] extends AnyRef

    Permalink

    Can convert type class.

    Can convert type class.

    Annotations
    @implicitNotFound( ... )
  18. trait CanDivideMeasure[N, D, R] extends AnyRef

    Permalink

    Can divide measure type class.

    Can divide measure type class.

    Annotations
    @implicitNotFound( ... )
  19. trait CanDivideQuantity[N, M1, Q1[_, _], M2, Q2[_, _], RM] extends CanDivideMeasure[M1, M2, RM]

    Permalink

    Can divide quantity type class.

  20. trait CanExponentiateMeasure[B, R] extends AnyRef

    Permalink

    Can exponentiate measure type class.

    Can exponentiate measure type class.

    Annotations
    @implicitNotFound( ... )
  21. trait CanExponentiateQuantity[N, M, Q[_, _], RM] extends CanExponentiateMeasure[M, RM]

    Permalink

    Can exponentiate quantity type class.

  22. trait CanMultiplyMeasure[M1, M2, R] extends AnyRef

    Permalink

    Can multiply measure type class.

    Can multiply measure type class.

    Annotations
    @implicitNotFound( ... )
  23. trait CanMultiplyQuantity[N, M1, Q1[_, _], M2, Q2[_, _], RM] extends CanMultiplyMeasure[M1, M2, RM]

    Permalink

    Can multiply quantity type class.

  24. trait CanSimplifyMeasure[I, D] extends AnyRef

    Permalink

    Can simplify measure type class.

    Can simplify measure type class. Determines the shape of simplified (deflated) measure.

    Annotations
    @implicitNotFound( ... )
  25. trait CanSimplifyQuantity[N, MI, Q[_, _], MD] extends CanSimplifyMeasure[MI, MD]

    Permalink

    Can simplify quantity type class.

    Can simplify quantity type class.

    Annotations
    @implicitNotFound( ... )
  26. case class Conversion[From, To](from: From, to: To) extends Product with Serializable

    Permalink

    Conversion.

  27. case class ConvertException(message: String) extends Exception with Product with Serializable

    Permalink

    Convert exception.

  28. trait Converter[From, To] extends AnyRef

    Permalink

    Converter.

  29. case class Currency(name: String) extends Measure[Currency] with Product with Serializable

    Permalink

    Currency.

  30. case class DecadicMultiple(prefix: String, multiple: Double) extends Product with Serializable

    Permalink

    Decadic multiple.

    Decadic multiple.

    http://en.wikipedia.org/wiki/Metric_prefixß

  31. trait DefaultDimensions extends Serializable

    Permalink

    Default dimensions.

  32. trait DefaultMeasures extends DefaultDimensions

    Permalink

    Default measures.

  33. case class Derived(system: SystemOfUnits) extends SystemOfUnits with Product with Serializable

    Permalink
  34. trait Dimension[Self <: Dimension[Self]] extends AnyDimension

    Permalink

    Dimension.

  35. case class DimensionlessMeasure(name: String, system: SystemOfUnits, base: Option[(DimensionlessMeasure, Double)] = None) extends Measure[DimensionlessMeasure] with Product with Serializable

    Permalink

    Dimensionless measure.

  36. type ElectricChargeDimension = ProductDimension[ElectricCurrentDimension, TimeDimension]

    Permalink
    Definition Classes
    DefaultDimensions
  37. case class ElectricCurrentDimension() extends Dimension[ElectricCurrentDimension] with Product with Serializable

    Permalink
    Definition Classes
    DefaultDimensions
  38. case class ElectricCurrentMeasure(name: String, system: SystemOfUnits, base: Option[(ElectricCurrentMeasure, Double)] = None) extends Measure[ElectricCurrentMeasure] with Product with Serializable

    Permalink

    Electric current measure.

  39. trait EnergyConverter extends SameTypeConverter[EnergyMeasure]

    Permalink

    Energy converter.

  40. type EnergyDimension = RatioDimension[ProductDimension[MassDimension, ExponentialDimension[LengthDimension]], ExponentialDimension[TimeDimension]]

    Permalink
    Definition Classes
    DefaultDimensions
  41. case class EnergyMeasure(name: String, system: SystemOfUnits, base: Option[(EnergyMeasure, Double)] = None) extends Measure[EnergyMeasure] with Product with Serializable

    Permalink

    Energy measure.

  42. type EnergyPrice = RatioMeasure[Currency, EnergyMeasure]

    Permalink
  43. trait EnergyPricePerDimensionlessConverter extends SameMeasureConverter[RatioMeasure[RatioMeasure[Currency, EnergyMeasure], DimensionlessMeasure]]

    Permalink

    EnergyPrice / () converter.

  44. sealed case class ExponentialDimension[B <: Dimension[B]](base: B, exponent: Double) extends Dimension[ExponentialDimension[B]] with AnyExponentialDimension with Product with Serializable

    Permalink
  45. trait ExponentialLengthConverter extends SameTypeConverter[ExponentialLengthMeasure]

    Permalink

    Length n converter.

  46. type ExponentialLengthMeasure = ExponentialMeasure[LengthMeasure]

    Permalink
  47. trait ExponentialMeasure[B <: Measure[B]] extends Measure[ExponentialMeasure[B]] with AnyExponentialMeasure

    Permalink

    Exponential measure.

  48. type FX = RatioMeasure[Currency, Currency]

    Permalink
  49. trait FixedCurrencyConverter extends SameMeasureConverter[Currency]

    Permalink

    Currency converter with fixed FX rate.

  50. type ForceDimension = RatioDimension[ProductDimension[MassDimension, LengthDimension], ExponentialDimension[TimeDimension]]

    Permalink
    Definition Classes
    DefaultDimensions
  51. case class ForceMeasure(name: String, system: SystemOfUnits, base: Option[(ForceMeasure, Double)] = None) extends Measure[ForceMeasure] with Product with Serializable

    Permalink

    Force measure.

  52. case class Hybrid(systems: SystemOfUnits*) extends SystemOfUnits with Product with Serializable

    Permalink
  53. case class Imperial[D <: Dimension[D]](scales: Scale[D]*) extends SystemOfUnits with Product with Serializable

    Permalink
  54. case class InformationDimension() extends Dimension[InformationDimension] with Product with Serializable

    Permalink
    Definition Classes
    DefaultDimensions
  55. case class InformationMeasure(name: String, system: SystemOfUnits, base: Option[(InformationMeasure, Double)] = None) extends Measure[InformationMeasure] with Product with Serializable

    Permalink

    Information measure.

  56. trait LengthConverter extends SameMeasureConverter[LengthMeasure]

    Permalink

    Length converter.

  57. case class LengthDimension() extends Dimension[LengthDimension] with Product with Serializable

    Permalink
    Definition Classes
    DefaultDimensions
  58. case class LengthMeasure(name: String, system: SystemOfUnits, base: Option[(LengthMeasure, Double)] = None) extends Measure[LengthMeasure] with Product with Serializable

    Permalink

    Length measure.

  59. type LuminousFluxDimension = ProductDimension[LuminousIntensityDimension, NoDimension]

    Permalink
    Definition Classes
    DefaultDimensions
  60. case class LuminousFluxMeasure(name: String, system: SystemOfUnits, base: Option[(LuminousFluxMeasure, Double)] = None) extends Measure[LuminousFluxMeasure] with Product with Serializable

    Permalink

    Luminous flux measure.

  61. case class LuminousIntensityDimension() extends Dimension[LuminousIntensityDimension] with Product with Serializable

    Permalink
    Definition Classes
    DefaultDimensions
  62. case class LuminousIntensityMeasure(name: String, system: SystemOfUnits, base: Option[(LuminousIntensityMeasure, Double)] = None) extends Measure[LuminousIntensityMeasure] with Product with Serializable

    Permalink

    Luminous intensity measure.

  63. trait MassConverter extends SameMeasureConverter[MassMeasure]

    Permalink

    Mass converter.

  64. case class MassDimension() extends Dimension[MassDimension] with Product with Serializable

    Permalink
    Definition Classes
    DefaultDimensions
  65. case class MassMeasure extends Measure[MassMeasure] with Product with Serializable

    Permalink

    Mass measure.

  66. trait Measure[Self <: Measure[Self]] extends AnyMeasure

    Permalink

    Measure.

    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 simplify, perform simplification and should be called only when necessary.

  67. trait MeasureProvider extends AnyRef

    Permalink

    Measure provider.

  68. case class MoneyDimension() extends Dimension[MoneyDimension] with Product with Serializable

    Permalink
    Definition Classes
    DefaultDimensions
  69. case class NoDimension() extends Dimension[NoDimension] with Product with Serializable

    Permalink
    Definition Classes
    DefaultDimensions
  70. type PowerDimension = RatioDimension[ProductDimension[MassDimension, ExponentialDimension[LengthDimension]], ExponentialDimension[TimeDimension]]

    Permalink
    Definition Classes
    DefaultDimensions
  71. case class PowerMeasure(name: String, system: SystemOfUnits, base: Option[(PowerMeasure, Double)] = None) extends Measure[PowerMeasure] with Product with Serializable

    Permalink

    Power measure.

  72. type PressureDimension = RatioDimension[MassDimension, ProductDimension[LengthDimension, ExponentialDimension[TimeDimension]]]

    Permalink
    Definition Classes
    DefaultDimensions
  73. case class PressureMeasure(name: String, system: SystemOfUnits, base: Option[(PressureMeasure, Double)] = None) extends Measure[PressureMeasure] with Product with Serializable

    Permalink

    Pressure measure.

  74. type Price[M <: Measure[M], N <: Measure[N]] = RatioMeasure[M, N]

    Permalink
  75. sealed case class ProductDimension[D1 <: Dimension[D1], D2 <: Dimension[D2]](multiplicand: D1, multiplier: D2) extends Dimension[ProductDimension[D1, D2]] with AnyProductDimension with Product with Serializable

    Permalink
  76. trait ProductMeasure[M1 <: Measure[M1], M2 <: Measure[M2]] extends Measure[ProductMeasure[M1, M2]] with AnyProductMeasure

    Permalink

    Product measure.

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

    Permalink

    Quantity.

  78. trait QuasiNumeric[T] extends AnyRef

    Permalink

    Quasi-numeric type class.

  79. sealed case class RatioDimension[D1 <: Dimension[D1], D2 <: Dimension[D2]](numerator: D1, denominator: D2) extends Dimension[RatioDimension[D1, D2]] with AnyRatioDimension with Product with Serializable

    Permalink
  80. trait RatioMeasure[M1 <: Measure[M1], M2 <: Measure[M2]] extends Measure[RatioMeasure[M1, M2]] with AnyRatioMeasure

    Permalink

    Ratio measure.

  81. trait Reducer[From, To] extends AnyRef

    Permalink

    Reducer.

    Reducer. Transforms measure to potentially simpler form by cancelling common factors.

  82. trait SameMeasureConverter[T <: Measure[T]] extends SameTypeConverter[T]

    Permalink

    Same measure converter.

  83. trait SameTypeConverter[T] extends Converter[T, T]

    Permalink

    Same type converter.

  84. abstract class Scale[D <: Dimension[D]] extends AnyRef

    Permalink

    Scale, representing an abstract notion of choice of measure of a particular dimension, e.g.

    Scale, representing an abstract notion of choice of measure of a particular dimension, e.g. temperature scale.

  85. type SpatialFrequencyDimension = RatioDimension[NoDimension, LengthDimension]

    Permalink
    Definition Classes
    DefaultDimensions
  86. sealed trait SystemOfUnits extends AnyRef

    Permalink

    System of units.

    System of units.

    http://en.wikipedia.org/wiki/International_System_of_Units

  87. case class TemperatureDimension() extends Dimension[TemperatureDimension] with Product with Serializable

    Permalink
    Definition Classes
    DefaultDimensions
  88. type TemporalFrequencyDimension = RatioDimension[NoDimension, TimeDimension]

    Permalink
    Definition Classes
    DefaultDimensions
  89. case class TemporalFrequencyMeasure(name: String, system: SystemOfUnits, base: Option[(TemporalFrequencyMeasure, Double)] = None) extends Measure[TemporalFrequencyMeasure] with Product with Serializable

    Permalink

    Temporal frequency measure.

  90. trait TimeConverter extends SameMeasureConverter[TimeMeasure]

    Permalink

    Time converter.

  91. case class TimeDimension() extends Dimension[TimeDimension] with Product with Serializable

    Permalink
    Definition Classes
    DefaultDimensions
  92. case class TimeMeasure(name: String, system: SystemOfUnits, base: Option[(TimeMeasure, Double)] = None) extends Measure[TimeMeasure] with Product with Serializable

    Permalink

    Time measure.

  93. case class Universal[D <: Dimension[D]](scales: Scale[D]*) extends SystemOfUnits with Product with Serializable

    Permalink
  94. type VoltageDimension = RatioDimension[ProductDimension[MassDimension, ExponentialDimension[LengthDimension]], ProductDimension[ExponentialDimension[TimeDimension], ElectricCurrentDimension]]

    Permalink
    Definition Classes
    DefaultDimensions
  95. case class VolumeMeasure(name: String, system: SystemOfUnits, base: Option[(VolumeMeasure, Double)] = None) extends Measure[VolumeMeasure] with Product with Serializable

    Permalink

    Volume measure.

  96. trait VolumeToExponentialLengthConverter extends Converter[VolumeMeasure, ExponentialLengthMeasure]

    Permalink

    Volume to Lengthn converter.

  97. type [From, To] = Conversion[From, To]

    Permalink

Abstract Value Members

  1. abstract def getClass(): Class[_]

    Permalink
    Definition Classes
    Any

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    Any
  4. val Amount: AmountDimension

    Permalink
    Definition Classes
    DefaultDimensions
  5. val AngularFrequency: RatioDimension[NoDimension, TimeDimension]

    Permalink
    Definition Classes
    DefaultDimensions
  6. object AnyExponentialDimension extends Serializable

    Permalink
  7. object AnyExponentialMeasure extends Serializable

    Permalink
  8. object AnyMeasureParsers

    Permalink
  9. object AnyProductDimension extends Serializable

    Permalink
  10. object AnyProductMeasure extends Serializable

    Permalink
  11. object AnyRatioDimension extends Serializable

    Permalink
  12. object AnyRatioMeasure extends Serializable

    Permalink
  13. object CanAddMeasure

    Permalink
  14. object CanConvert

    Permalink
  15. object Centigrade extends Scale[TemperatureDimension] with Product with Serializable

    Permalink
  16. object ConvertException extends Serializable

    Permalink
  17. val Dimensionless: NoDimension

    Permalink
    Definition Classes
    DefaultDimensions
  18. object DimensionlessConverter extends SameMeasureConverter[DimensionlessMeasure] with Product with Serializable

    Permalink

    Dimensionless converter.

  19. object DimensionlessMeasure extends Serializable

    Permalink
  20. val ElectricCharge: ProductDimension[ElectricCurrentDimension, TimeDimension]

    Permalink
    Definition Classes
    DefaultDimensions
  21. val ElectricCurrent: ElectricCurrentDimension

    Permalink
    Definition Classes
    DefaultDimensions
  22. val Energy: RatioDimension[ProductDimension[MassDimension, ExponentialDimension[LengthDimension]], ExponentialDimension[TimeDimension]]

    Permalink
    Definition Classes
    DefaultDimensions
  23. object EnergyConverter

    Permalink
  24. object EnergyPricePerDimensionlessConverter

    Permalink
  25. object ExponentialLengthConverter

    Permalink
  26. object ExponentialMeasure extends Serializable

    Permalink
  27. object Fahrenheit extends Scale[TemperatureDimension] with Product with Serializable

    Permalink
  28. object FixedCurrencyConverter

    Permalink
  29. val Force: RatioDimension[ProductDimension[MassDimension, LengthDimension], ExponentialDimension[TimeDimension]]

    Permalink
    Definition Classes
    DefaultDimensions
  30. val Information: InformationDimension

    Permalink
    Definition Classes
    DefaultDimensions
  31. object Kelvin extends Scale[TemperatureDimension] with Product with Serializable

    Permalink
  32. val Length: LengthDimension

    Permalink
    Definition Classes
    DefaultDimensions
  33. object LengthConverter

    Permalink
  34. val LuminousFlux: ProductDimension[LuminousIntensityDimension, NoDimension]

    Permalink
    Definition Classes
    DefaultDimensions
  35. val LuminousIntensity: LuminousIntensityDimension

    Permalink
    Definition Classes
    DefaultDimensions
  36. val Mass: MassDimension

    Permalink
    Definition Classes
    DefaultDimensions
  37. object MassConverter

    Permalink
  38. object MassMeasure extends Serializable

    Permalink
  39. object Monetary extends SystemOfUnits with Product with Serializable

    Permalink
  40. val Money: MoneyDimension

    Permalink
    Definition Classes
    DefaultDimensions
  41. val Power: RatioDimension[ProductDimension[MassDimension, ExponentialDimension[LengthDimension]], ExponentialDimension[TimeDimension]]

    Permalink
    Definition Classes
    DefaultDimensions
  42. val Pressure: RatioDimension[MassDimension, ProductDimension[LengthDimension, ExponentialDimension[TimeDimension]]]

    Permalink
    Definition Classes
    DefaultDimensions
  43. object ProductMeasure extends Serializable

    Permalink
  44. object QuasiNumeric

    Permalink
  45. object RatioMeasure extends Serializable

    Permalink
  46. object SI extends SystemOfUnits with Product with Serializable

    Permalink
  47. object SameTypeConverter

    Permalink
  48. val SpatialFrequency: RatioDimension[NoDimension, LengthDimension]

    Permalink
    Definition Classes
    DefaultDimensions
  49. val Temperature: TemperatureDimension

    Permalink
    Definition Classes
    DefaultDimensions
  50. val TemporalFrequency: RatioDimension[NoDimension, TimeDimension]

    Permalink
    Definition Classes
    DefaultDimensions
  51. val Time: TimeDimension

    Permalink
    Definition Classes
    DefaultDimensions
  52. object TimeConverter

    Permalink
  53. object US extends SystemOfUnits with Product with Serializable

    Permalink
  54. val Voltage: RatioDimension[ProductDimension[MassDimension, ExponentialDimension[LengthDimension]], ProductDimension[ExponentialDimension[TimeDimension], ElectricCurrentDimension]]

    Permalink
    Definition Classes
    DefaultDimensions
  55. object VolumeToExponentialLengthConverter

    Permalink
  56. object any

    Permalink
  57. package arithmetic

    Permalink
  58. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  59. object commodity

    Permalink
  60. package composition

    Permalink
  61. package conversion

    Permalink
  62. package duration

    Permalink
  63. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  64. def hashCode(): Int

    Permalink
    Definition Classes
    Any
  65. object implicits extends SafeArithmeticImplicits with DefaultSimplificationImplicits with DefaultConversionImplicits

    Permalink
  66. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  67. object measures extends DefaultMeasures

    Permalink
  68. object quantities extends DefaultMeasures

    Permalink
  69. package simplification

    Permalink
  70. def toString(): String

    Permalink
    Definition Classes
    Any
  71. val : Conversion.type

    Permalink

Inherited from DefaultDimensions

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped