axle.quanta

Quantum

trait Quantum extends AnyRef

TODO

HSet for numerator + HSet for denominator ? name, symbol, link for new units resulting from by and over derive should heck that the given compound unit is in this quantum's list of derivations? derive should add the compoundUnit to the graph? reconcile newEdge(source, dest) and newEdge(source, dest, magnitude)

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

Type Members

  1. type Q <: Quantity

    Attributes
    abstract
  2. class Quantity extends AnyRef

  3. case class UnitPlottable (base: Q) extends Plottable[Q] with Product with Serializable

Abstract Value Members

  1. def conversionGraph (): DirectedGraph[Q, BigDecimal]

    Attributes
    abstract
  2. def newQuantity (magnitude: BigDecimal, unit: Q): Q

    Attributes
    abstract
  3. def newUnitOfMeasurement (name: Option[String] = None, symbol: Option[String] = None, link: Option[String] = None): Q

    Attributes
    abstract
  4. val wikipediaUrl : String

    Attributes
    abstract

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. def bdDivide (numerator: BigDecimal, denominator: BigDecimal): BigDecimal

  8. def byName (unitName: String): Q

  9. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def conversions (vps: Seq[Q], ef: (Seq[Vertex[Q]]) ⇒ Seq[(Vertex[Q], Vertex[Q], BigDecimal)]): DirectedGraph[Q, BigDecimal]

  11. def derive (compoundUnit: Q, nameOpt: Option[String] = None, symbolOpt: Option[String] = None, linkOpt: Option[String] = None): Q

  12. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  13. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  16. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  17. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  18. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  19. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  20. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  21. val oneBD : BigDecimal

  22. def quantity (magnitude: BigDecimal, unit: Q): Q

  23. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  24. def toString (): String

    Definition Classes
    Quantum → AnyRef → Any
  25. def unit (name: String, symbol: String, linkOpt: Option[String] = None): Q

  26. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  29. def withInverses (trips: Seq[(Vertex[Q], Vertex[Q], BigDecimal)]): Seq[(Vertex[Q], Vertex[Q], BigDecimal)]

  30. val zeroBD : BigDecimal

Inherited from AnyRef

Inherited from Any