trait
Quantum
extends AnyRef
Type Members
-
-
class
Quantity
extends AnyRef
-
case class
UnitPlottable
(base: Q) extends Plottable[Q] with Product with Serializable
Abstract Value Members
-
def
conversionGraph
(): DirectedGraph[Q, BigDecimal]
-
def
newQuantity
(magnitude: BigDecimal, unit: Q): Q
-
def
newUnitOfMeasurement
(name: Option[String] = None, symbol: Option[String] = None, link: Option[String] = None): Q
-
val
wikipediaUrl
: String
Concrete Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
def
asInstanceOf
[T0]
: T0
-
def
bdDivide
(numerator: BigDecimal, denominator: BigDecimal): BigDecimal
-
def
byName
(unitName: String): Q
-
def
clone
(): AnyRef
-
def
conversions
(vps: Seq[Q], ef: (Seq[Vertex[Q]]) ⇒ Seq[(Vertex[Q], Vertex[Q], BigDecimal)]): DirectedGraph[Q, BigDecimal]
-
def
derive
(compoundUnit: Q, nameOpt: Option[String] = None, symbolOpt: Option[String] = None, linkOpt: Option[String] = None): Q
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
def
finalize
(): Unit
-
def
getClass
(): java.lang.Class[_]
-
def
hashCode
(): Int
-
def
isInstanceOf
[T0]
: Boolean
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
val
oneBD
: BigDecimal
-
def
quantity
(magnitude: BigDecimal, unit: Q): Q
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
toString
(): String
-
def
unit
(name: String, symbol: String, linkOpt: Option[String] = None): Q
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
-
def
withInverses
(trips: Seq[(Vertex[Q], Vertex[Q], BigDecimal)]): Seq[(Vertex[Q], Vertex[Q], BigDecimal)]
-
val
zeroBD
: BigDecimal
Inherited from AnyRef
Inherited from Any
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)