Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

CuterDenseFunctional Class Reference
[CuterSupport]

An implementation of CuterFunctional that uses dense matrices. More...

#include <CuterDenseFunctional.hh>

Inheritance diagram for CuterDenseFunctional:

CuterFunctional ConcreteFunctional Functional IotrRefCount List of all members.

Public Methods

 CuterDenseFunctional (CuterAdaptor &a)
 Constructor.

virtual PrimalDualSystemnewPrimalDualSystem (ElementGather *iclow, ElementGather *icupp, ElementGather *ieq, ElementGather *ixlow, ElementGather *ixupp, IotrMask *aXmask)
virtual GenMatrixnewJacobianMatrix () const
virtual SymMatrixnewHessianMatrix () const
virtual void writeConfiguration (std::ostream &out, char indent[])

Protected Methods

virtual void concreteGrads (IotrVector &g, GenMatrix &J, IotrVector &x)
 Computes the constraint Jacobian and the Lagrangian evaluated at x and Lm.

virtual void concreteHess (SymMatrix &H, IotrVector &x, IotrVector &Lm)
 Computes the Hessian evaluated at x and Lm.


Detailed Description

An implementation of CuterFunctional that uses dense matrices.


Constructor & Destructor Documentation

CuterDenseFunctional::CuterDenseFunctional CuterAdaptor   a
 

Constructor.

Creates memory for member arrays with respect to nmax and mmax.


Member Function Documentation

virtual void CuterDenseFunctional::concreteGrads IotrVector   g,
GenMatrix   J,
IotrVector   x
[protected, virtual]
 

Computes the constraint Jacobian and the Lagrangian evaluated at x and Lm.

concreteValues() contains the implementation for the evaluation of the Jacobian and Lagrangian and is called by grads().

Parameters:
g  the gradient of the objective function
J  the Jacobian of the constraints
x  point at which the objective and constraint function are to be evaluated.

Implements CuterFunctional.

virtual void CuterDenseFunctional::concreteHess SymMatrix   H,
IotrVector   x,
IotrVector   Lm
[protected, virtual]
 

Computes the Hessian evaluated at x and Lm.

The actual implementation of this evaluation is contained in concreteHess() which is called by hessian().

Parameters:
H  denotes the Hessian.
Lm  points to the vector whose elements are the Lagrange multipliers.
x  points the current point at which the objective and constraint function are to be evaluated.

Implements CuterFunctional.


The documentation for this class was generated from the following file:
Generated on Wed Aug 27 10:03:42 2003 for iotr by doxygen1.2.18