Constraint Class Reference

### A free/open-source library for quantitative finance

Classes | Public Member Functions | Protected Attributes
Constraint Class Reference

Base constraint class. More...

`#include <ql/math/optimization/constraint.hpp>`

Inheritance diagram for Constraint:
[legend]

List of all members.

## Classes
class | Impl
| Base class for constraint implementations. More...
## Public Member Functions
bool | empty () const
bool | test (const Array &p) const
Real | update (Array &p, const Array &direction, Real beta)
| Constraint (const boost::shared_ptr< Impl > &impl=boost::shared_ptr< Impl >())
## Protected Attributes
boost::shared_ptr< Impl > | impl_

## Detailed Description

Base constraint class.