Search
Preparing search index...
The search index is not available
quantlib.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"ql/experimental/commodities/unitofmeasureconversion"
UnitOfMeasureConversion
Class UnitOfMeasureConversion
Hierarchy
UnitOfMeasureConversion
Index
Enumerations
Type
Classes
Data
Properties
_data
Methods
code
commodity
Type
conversion
Factor
convert
init1
init2
source
target
type
chain
Properties
Protected
_data
_data
:
Data
Methods
code
code
(
)
:
string
Returns
string
commodity
Type
commodity
Type
(
)
:
CommodityType
Returns
CommodityType
conversion
Factor
conversion
Factor
(
)
:
Real
Returns
Real
convert
convert
(
quantity
:
Quantity
)
:
Quantity
Parameters
quantity:
Quantity
Returns
Quantity
init1
init1
(
commodityType
:
CommodityType
, source
:
UnitOfMeasure
, target
:
UnitOfMeasure
, conversionFactor
:
Real
)
:
UnitOfMeasureConversion
Parameters
commodityType:
CommodityType
source:
UnitOfMeasure
target:
UnitOfMeasure
conversionFactor:
Real
Returns
UnitOfMeasureConversion
init2
init2
(
r1
:
UnitOfMeasureConversion
, r2
:
UnitOfMeasureConversion
)
:
UnitOfMeasureConversion
Parameters
r1:
UnitOfMeasureConversion
r2:
UnitOfMeasureConversion
Returns
UnitOfMeasureConversion
source
source
(
)
:
UnitOfMeasure
Returns
UnitOfMeasure
target
target
(
)
:
UnitOfMeasure
Returns
UnitOfMeasure
type
type
(
)
:
Type
Returns
Type
Static
chain
chain
(
r1
:
UnitOfMeasureConversion
, r2
:
UnitOfMeasureConversion
)
:
UnitOfMeasureConversion
Parameters
r1:
UnitOfMeasureConversion
r2:
UnitOfMeasureConversion
Returns
UnitOfMeasureConversion
Globals
"ql/experimental/commodities/unitofmeasureconversion"
Unit
OfMeasure
Conversion
Type
Data
_data
code
commodity
Type
conversion
Factor
convert
init1
init2
source
target
type
chain