Search
Preparing search index...
The search index is not available
Physics Math
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Units
UnitBase
Class UnitBase<T>
Base class for all units (and aliases).
Type parameters
T
:
PUnitTerms
Hierarchy
UnitBase
DerivedUnit
PrimitiveUnit
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
Unit
Base
constructor
attributes
id_
key
name
names
symbol
tex_
html
id
tex
to
Html
to
String
to
Tex
Generated using
TypeDoc
Base class for all units (and aliases).