temperature

coulomb.units.temperature$

Temperature units and values

Attributes

Source:
temperature.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

Attributes

Source:
temperature.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Types

final type Celsius

Celsius degree, aka Centigrade

Celsius degree, aka Centigrade

Attributes

Source:
temperature.scala
final type Fahrenheit

Fahrenheit degree

Fahrenheit degree

Attributes

Source:
temperature.scala
final type Temperature[V, U] = DeltaQuantity[V, U, Kelvin]

A temperature value

A temperature value

Attributes

U

a temperature unit type, having base unit coulomb.units.si.Kelvin

V

the underlying value type

Source:
temperature.scala

Givens

Givens

given ctx_unit_Celsius: DeltaUnit[Celsius, Kelvin, 27315 / 100, "celsius", "°C"]

Attributes

Source:
temperature.scala
given ctx_unit_Fahrenheit: DeltaUnit[Fahrenheit, 5 / 9 * Kelvin, 45967 / 100, "fahrenheit", "°F"]

Attributes

Source:
temperature.scala

Extensions

Extensions

extension [V](v: V)

Lift a raw value to a Temperature

Lift a raw value to a Temperature

Attributes

U

the temperature unit type to use, having base unit coulomb.units.si.Kelvin

Returns:

a Temperature object

Example:
// the freezing point of water on the Celsius scale
val freeze = (0.0).withTemperature[Celsius]
Source:
temperature.scala

Exports

Defined exports

final type Kelvin = Kelvin
Exported from si$

Attributes

Source:
temperature.scala
Exported from si

Attributes

Source:
si.scala