Search
Preparing search index...
The search index is not available
Physics Math
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
Units
UnitBase
Class UnitBase<T>
Base class for all units (and aliases).
Type parameters
T
:
PUnitTerms
Hierarchy
UnitBase
Implements
IUnitBase
<
T
>
Index
Constructors
constructor
Properties
attributes
id_
key
name
names
symbol
tex_
Accessors
html
id
tex
Methods
to
Html
to
String
to
Tex
Constructors
Protected
constructor
new
Unit
Base
(
key
:
T
, attributes
:
UnitAttributes
)
:
UnitBase
Parameters
key:
T
attributes:
UnitAttributes
Returns
UnitBase
Properties
Readonly
attributes
attributes
:
UnitAttributes
Private
Optional
id_
id_
:
undefined
|
string
Readonly
key
key
:
T
Readonly
Abstract
name
name
:
string
Readonly
names
names
:
string
[]
= []
Optional
Readonly
symbol
symbol
:
undefined
|
string
Private
Optional
tex_
tex_
:
undefined
|
string
Accessors
html
get
html
(
)
:
Element
&
ViewOf
<
this
>
Returns
Element
&
ViewOf
<
this
>
id
get
id
(
)
:
string
Returns
string
tex
get
tex
(
)
:
string
Returns
string
Methods
to
Html
to
Html
(
block
?:
undefined
|
false
|
true
, ctx
?:
StyleContext
)
:
Element
&
ViewOf
<
this
>
Parameters
Optional
block:
undefined
|
false
|
true
Default value
ctx:
StyleContext
= DEFAULT_STYLE.context
Returns
Element
&
ViewOf
<
this
>
to
String
to
String
(
)
:
string
Returns
string
to
Tex
to
Tex
(
ctx
?:
StyleContext
)
:
string
Parameters
Default value
ctx:
StyleContext
= DEFAULT_STYLE.context
Returns
string
Globals
Algebra
Frame
Functionals
Index
La
TeX
Units
Utils
graph
Primitive
Unit
Base
constructor
attributes
id_
key
name
names
symbol
tex_
html
id
tex
to
Html
to
String
to
Tex
Alias
Attributes
IUnit
Base
PrimitiveSI
Primitive
Unit
Attributes
SI
Unit
Unit
Attributes
Complete
Terms
Divide
Divide
Terms
Exponent
Invert
Terms
Multiply
Multiply
Terms
PUnit
Terms
Prefix
Exponent
Prefix
Name
Prefix
Symbol
Primitive
Map
Terms
OfUnit
Terms
OfUnit
Base
Unit
Terms
PRIMITIVE_
MAP
TeX
primitive
Keys
define
Alias
define
Unit
get
Unit
is
Unit
make
Lookup
Key
order
Units
Generated using
TypeDoc
Base class for all units (and aliases).