QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Member Functions | List of all members
NoConstraint::Impl Class Referencefinal
+ Inheritance diagram for NoConstraint::Impl:
+ Collaboration diagram for NoConstraint::Impl:

Public Member Functions

bool test (const Array &) const override
 Tests if params satisfy the constraint. More...
 
- Public Member Functions inherited from Constraint::Impl
virtual ~Impl ()=default
 
virtual bool test (const Array &params) const =0
 Tests if params satisfy the constraint. More...
 
virtual Array upperBound (const Array &params) const
 Returns upper bound for given parameters. More...
 
virtual Array lowerBound (const Array &params) const
 Returns lower bound for given parameters. More...
 

Detailed Description

Definition at line 81 of file constraint.hpp.

Member Function Documentation

◆ test()

bool test ( const Array params) const
overridevirtual

Tests if params satisfy the constraint.

Implements Constraint::Impl.

Definition at line 83 of file constraint.hpp.