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/models/parameter"
PiecewiseConstantParameter
Class PiecewiseConstantParameter
Hierarchy
Parameter
PiecewiseConstantParameter
Implements
UnaryFunction
<
Time
,
Real
>
Index
Classes
Impl
Constructors
constructor
Properties
_constraint
_impl
_params
Methods
constraint
f
implementation
init1
init2
params
set
Param
size
test
Params
Constructors
constructor
new
Piecewise
Constant
Parameter
(
times
:
Time
[]
, constraint
?:
Constraint
)
:
PiecewiseConstantParameter
Parameters
times:
Time
[]
Default value
constraint:
Constraint
= new NoConstraint()
Returns
PiecewiseConstantParameter
Properties
Protected
_constraint
_constraint
:
Constraint
Protected
_impl
_impl
:
Impl
Protected
_params
_params
:
Real
[]
= []
Methods
constraint
constraint
(
)
:
Constraint
Returns
Constraint
f
f
(
t
:
Time
)
:
Real
Parameters
t:
Time
Returns
Real
implementation
implementation
(
)
:
Impl
Returns
Impl
init1
init1
(
)
:
Parameter
Returns
Parameter
init2
init2
(
size
:
Size
, impl
:
Impl
, constraint
:
Constraint
)
:
Parameter
Parameters
size:
Size
impl:
Impl
constraint:
Constraint
Returns
Parameter
params
params
(
)
:
Real
[]
Returns
Real
[]
set
Param
set
Param
(
i
:
Size
, x
:
Real
)
:
void
Parameters
i:
Size
x:
Real
Returns
void
size
size
(
)
:
Size
Returns
Size
test
Params
test
Params
(
params
:
Real
[]
)
:
boolean
Parameters
params:
Real
[]
Returns
boolean
Globals
"ql/models/parameter"
Constant
Parameter
Null
Parameter
Parameter
Piecewise
Constant
Parameter
Impl
constructor
_constraint
_impl
_params
constraint
f
implementation
init1
init2
params
set
Param
size
test
Params
Term
Structure
Fitting
Parameter