QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
PositiveConstraint Class Reference

Constraint imposing positivity to all arguments More...

#include <constraint.hpp>

+ Inheritance diagram for PositiveConstraint:
+ Collaboration diagram for PositiveConstraint:

Classes

class  Impl
 

Public Member Functions

 PositiveConstraint ()
 
- Public Member Functions inherited from Constraint
bool empty () const
 
bool test (const Array &p) const
 
Array upperBound (const Array &params) const
 
Array lowerBound (const Array &params) const
 
Real update (Array &p, const Array &direction, Real beta) const
 
 Constraint (ext::shared_ptr< Impl > impl=ext::shared_ptr< Impl >())
 

Additional Inherited Members

- Protected Attributes inherited from Constraint
ext::shared_ptr< Implimpl_
 

Detailed Description

Constraint imposing positivity to all arguments

Definition at line 92 of file constraint.hpp.

Constructor & Destructor Documentation

◆ PositiveConstraint()

Definition at line 108 of file constraint.hpp.