DerivedUnit

abstract class DerivedUnit[U, D, Name, Abbv] extends NamedUnit[Name, Abbv]
Type parameters:
Abbv

unit abbreviation

import coulomb.define.*
import coulomb.units.us.{*, given}
// a unit of length based on the height of Oliver R. Smoot in 1958
type Smoot
given unit_Smoot: DerivedUnit[Smoot, 67 * Inch, "smoot", "smt"] = DerivedUnit()
D

unit it is derived from

Name

unit name

U

unit type

Companion:
object
Source:
define.scala
class NamedUnit[Name, Abbv]
class Object
trait Matchable
class Any
class DeltaUnit[U, D, O, Name, Abbv]
class NC[U, D, O, Name, Abbv]
class NC[U, D, Name, Abbv]