coulomb
Members list
Type members
Classlikes
Defines DeltaQuantity constructors and extension methods
Defines DeltaQuantity constructors and extension methods
Attributes
- Source:
- deltaquantity.scala
- Graph
- Supertypes
- Self type
- DeltaQuantity.type
Defines Quantity constructors and extension methods
Defines Quantity constructors and extension methods
Attributes
- Source:
- quantity.scala
- Graph
- Supertypes
- Self type
- Quantity.type
Types
Represents the product of two unit expressions
Represents the product of two unit expressions
Attributes
- L
the left-hand unit subexpression
- R
the right-hand unit subexpression
type AcreFoot = (Acre * Foot)
- Source:
- quantity.scala
Represents unit division
Represents unit division
Attributes
- L
the left-hand unit subexpression (numerator)
- R
the right-hand unit subexpression (denominator)
type MPS = (Meter / Second)
- Source:
- quantity.scala
Represents a value with an associated unit type and "delta" offset, for example coulomb.units.temperature.Temperature or coulomb.units.time.EpochTime
Represents a value with an associated unit type and "delta" offset, for example coulomb.units.temperature.Temperature or coulomb.units.time.EpochTime
Attributes
- B
base unit type (the base unit of U)
- U
the unit type
- V
the raw value type
- Source:
- deltaquantity.scala
Represents a value with an associated unit type
Represents a value with an associated unit type
Attributes
- U
the unit type
- V
the raw value type
- Source:
- quantity.scala
Represents raising unit expression B to rational power E
Represents raising unit expression B to rational power E
Attributes
- B
a base unit expression
- E
a rational exponent
type V = (Meter ^ 3) type H = (Second ^ -1) type R = (Meter ^ (1 / 2))
- Source:
- quantity.scala
Deprecated types
Attributes
- Deprecated
- true
- Source:
- quantity.scala
Value members
Concrete methods
Obtain the coefficient of conversion from one unit expression to another
Obtain the coefficient of conversion from one unit expression to another
Attributes
- UF
the input unit expression
- UT
the output unit expression
- V
the value type to return
- Returns:
the coefficient of conversion from UF to UT If UF and UT are not convertible, causes a compilation failure.
- Source:
- quantity.scala
obtain a string representation of a unit type, using unit abbreviation forms
obtain a string representation of a unit type, using unit abbreviation forms
Attributes
- U
the unit type
- Returns:
the unit in string form
showUnit[Meter / Second] // => "m/s"
- Source:
- quantity.scala
obtain a string representation of a unit type, using full unit names
obtain a string representation of a unit type, using full unit names
Attributes
- U
the unit type
- Returns:
the unit in string form
showUnitFull[Meter / Second] // => "meter/second"
- Source:
- quantity.scala