Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DerivedUnit<T>

Derived units build on the primitive units through multiplication (integration) and division (differentiation).

Type parameters

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly attributes

attributes: UnitAttributes

Readonly key

key: T

Readonly name

name: string

Readonly names

names: string[] = []

Optional Readonly symbol

symbol: undefined | string

Optional Readonly varName

varName: undefined | string

Accessors

html

  • get html(): Element & ViewOf<this>

id

  • get id(): string

si

tex

  • get tex(): string

Methods

add

Private combine

divide

fromSI

  • fromSI(v: number, unit: Unit): [number, this]

multiply

toHtml

toSI

  • toSI(v: number): [number, Unit]

toString

  • toString(): string

toTex

Generated using TypeDoc