|
QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
Inheritance diagram for CompositeConstraint::Impl:
Collaboration diagram for CompositeConstraint::Impl:Public Member Functions | |
| Impl (Constraint c1, Constraint c2) | |
| bool | test (const Array ¶ms) const override |
| Tests if params satisfy the constraint. More... | |
| Array | upperBound (const Array ¶ms) const override |
| Returns upper bound for given parameters. More... | |
| Array | lowerBound (const Array ¶ms) const override |
| Returns lower bound for given parameters. More... | |
Public Member Functions inherited from Constraint::Impl | |
| virtual | ~Impl ()=default |
| virtual bool | test (const Array ¶ms) const =0 |
| Tests if params satisfy the constraint. More... | |
| virtual Array | upperBound (const Array ¶ms) const |
| Returns upper bound for given parameters. More... | |
| virtual Array | lowerBound (const Array ¶ms) const |
| Returns lower bound for given parameters. More... | |
Private Attributes | |
| Constraint | c1_ |
| Constraint | c2_ |
Definition at line 142 of file constraint.hpp.
| Impl | ( | Constraint | c1, |
| Constraint | c2 | ||
| ) |
Definition at line 144 of file constraint.hpp.
Tests if params satisfy the constraint.
Implements Constraint::Impl.
Definition at line 145 of file constraint.hpp.
Here is the call graph for this function:Returns upper bound for given parameters.
Reimplemented from Constraint::Impl.
Definition at line 148 of file constraint.hpp.
Here is the call graph for this function:Returns lower bound for given parameters.
Reimplemented from Constraint::Impl.
Definition at line 157 of file constraint.hpp.
Here is the call graph for this function:
|
private |
Definition at line 168 of file constraint.hpp.
|
private |
Definition at line 168 of file constraint.hpp.