NAME

QuantLib::Constraint - Base constraint class.

SYNOPSIS


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

Inherited by BoundaryConstraint, PrivateConstraint, CompositeConstraint, FellerConstraint, NoConstraint, and PositiveConstraint.

Classes


class Impl
Base class for constraint implementations.

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.

Author

Generated automatically by Doxygen for QuantLib from the source code.