Search
Preparing search index...
The search index is not available
Physics Math
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Physics Math
Units
AliasUnit
Class AliasUnit<T>
internal
Type parameters
T
:
UnitTerms
Hierarchy
UnitBase
<
T
>
AliasUnit
Implements
Alias
Unit
<
T
>
Index
Constructors
constructor
Properties
attributes
key
name
names
offset
scale
si
symbol
Accessors
html
id
tex
Methods
add
divide
fromSI
multiply
to
Html
toSI
to
String
to
Tex
Constructors
constructor
new
Alias
Unit<T>
(
name
:
string
, symbol
:
undefined
|
string
, attributes
:
AliasAttributes
, si
:
Unit
<
T
>
&
SI
, scale
:
number
, offset
?:
number
)
:
AliasUnit
<
T
>
Type parameters
T
:
UnitTerms
Parameters
name:
string
symbol:
undefined
|
string
attributes:
AliasAttributes
si:
Unit
<
T
>
&
SI
scale:
number
offset:
number
= 0
Returns
AliasUnit
<
T
>
Properties
Readonly
attributes
attributes
:
UnitAttributes
Readonly
key
key
:
T
Readonly
name
name
:
string
Readonly
names
names
:
string
[]
= ...
Readonly
offset
offset
:
number
Readonly
scale
scale
:
number
Readonly
si
si
:
Unit
<
T
>
Optional
Readonly
symbol
symbol
:
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
add
add
(
u
:
Unit
<
T
>
)
:
Unit
<
T
>
Parameters
u:
Unit
<
T
>
Returns
Unit
<
T
>
divide
divide<T2>
(
u
:
Unit
<
T2
>
)
:
Unit
<
DivideTerms
<
T
,
T2
>
>
Type parameters
T2
:
UnitTerms
Parameters
u:
Unit
<
T2
>
Returns
Unit
<
DivideTerms
<
T
,
T2
>
>
fromSI
fromSI<R>
(
v
:
R
, unit
:
Unit
<
UnitTerms
>
)
:
[
R
,
AliasUnit
<
T
>
]
Type parameters
R
:
number
Parameters
v:
R
unit:
Unit
<
UnitTerms
>
Returns
[
R
,
AliasUnit
<
T
>
]
multiply
multiply<T2>
(
u
:
Unit
<
T2
>
)
:
Unit
<
MultiplyTerms
<
T
,
T2
>
>
Type parameters
T2
:
UnitTerms
Parameters
u:
Unit
<
T2
>
Returns
Unit
<
MultiplyTerms
<
T
,
T2
>
>
to
Html
to
Html
(
block
?:
boolean
, ctx
?:
StyleContext
)
:
Element
&
ViewOf
<
AliasUnit
<
T
>
>
Parameters
Optional
block:
boolean
ctx:
StyleContext
= ...
Returns
Element
&
ViewOf
<
AliasUnit
<
T
>
>
toSI
toSI<R>
(
v
:
R
)
:
[
R
,
Unit
<
UnitTerms
>
]
Type parameters
R
:
number
Parameters
v:
R
Returns
[
R
,
Unit
<
UnitTerms
>
]
to
String
to
String
(
)
:
string
Returns
string
to
Tex
to
Tex
(
ctx
?:
StyleContext
)
:
string
Parameters
ctx:
StyleContext
= ...
Returns
string
Exports
Algebra
Frame
Functionals
Functionals
Functionals
Functionals
Functionals
Functionals
Functionals
Functionals
Functionals
Functionals
Index
La
TeX
Units
Units
Units
Utils
Utils
Utils
graph
modules
Alias
Unit
constructor
attributes
key
name
names
offset
scale
si
symbol
html
id
tex
add
divide
fromSI
multiply
to
Html
toSI
to
String
to
Tex
Alias
Alias
Attributes
Unit
Complete
Complete
Terms
Divide
Divide
Terms
Invert
Terms
Multiply
Multiply
Terms
Prefix
Exponent
Prefix
Name
Prefix
Symbol
Terms
OfUnit
Terms
OfUnit
Base
Unit
Terms
complete
Key
define
Alias
define
Unit
get
Unit
is
Unit
Generated using
TypeDoc