CallbackFunctions Class Reference

#include <callbackfunctions.hpp>

List of all members.

Public Member Functions

 CallbackFunctions (const mxArray *ptr)
 ~CallbackFunctions ()
bool constraintFuncIsAvailable () const
bool jacobianFuncIsAvailable () const
bool hessianFuncIsAvailable () const
bool iterFuncIsAvailable () const
double computeObjective (const Iterate &x, const mxArray *auxdata) const
void computeGradient (const Iterate &x, double *g, const mxArray *auxdata) const
void computeConstraints (const Iterate &x, int m, double *c, const mxArray *auxdata) const
SparseMatrixgetJacobianStructure (int n, int m, const mxArray *auxdata) const
SparseMatrixgetHessianStructure (int n, const mxArray *auxdata) const
void computeJacobian (int m, const Iterate &x, SparseMatrix &J, const mxArray *auxdata) const
void computeHessian (const Iterate &x, double sigma, int m, const double *lambda, SparseMatrix &H, const mxArray *auxdata) const
bool iterCallback (int t, double f, const mxArray *&auxdata) const

Protected Attributes

MatlabFunctionHandleobjfunc
MatlabFunctionHandlegradfunc
MatlabFunctionHandleconstraintfunc
MatlabFunctionHandlejacobianfunc
MatlabFunctionHandlejacstrucfunc
MatlabFunctionHandlehessianfunc
MatlabFunctionHandlehesstrucfunc
MatlabFunctionHandleiterfunc

Detailed Description

Definition at line 25 of file callbackfunctions.hpp.


Constructor & Destructor Documentation

CallbackFunctions::CallbackFunctions ( const mxArray *  ptr  )  [explicit]
CallbackFunctions::~CallbackFunctions (  ) 

Member Function Documentation

bool CallbackFunctions::constraintFuncIsAvailable (  )  const [inline]

Definition at line 29 of file callbackfunctions.hpp.

bool CallbackFunctions::jacobianFuncIsAvailable (  )  const [inline]

Definition at line 30 of file callbackfunctions.hpp.

bool CallbackFunctions::hessianFuncIsAvailable (  )  const [inline]

Definition at line 31 of file callbackfunctions.hpp.

bool CallbackFunctions::iterFuncIsAvailable (  )  const [inline]

Definition at line 32 of file callbackfunctions.hpp.

double CallbackFunctions::computeObjective ( const Iterate x,
const mxArray *  auxdata 
) const
void CallbackFunctions::computeGradient ( const Iterate x,
double *  g,
const mxArray *  auxdata 
) const
void CallbackFunctions::computeConstraints ( const Iterate x,
int  m,
double *  c,
const mxArray *  auxdata 
) const
SparseMatrix* CallbackFunctions::getJacobianStructure ( int  n,
int  m,
const mxArray *  auxdata 
) const
SparseMatrix* CallbackFunctions::getHessianStructure ( int  n,
const mxArray *  auxdata 
) const
void CallbackFunctions::computeJacobian ( int  m,
const Iterate x,
SparseMatrix J,
const mxArray *  auxdata 
) const
void CallbackFunctions::computeHessian ( const Iterate x,
double  sigma,
int  m,
const double *  lambda,
SparseMatrix H,
const mxArray *  auxdata 
) const
bool CallbackFunctions::iterCallback ( int  t,
double  f,
const mxArray *&  auxdata 
) const

Member Data Documentation

Definition at line 75 of file callbackfunctions.hpp.

Definition at line 76 of file callbackfunctions.hpp.

Definition at line 77 of file callbackfunctions.hpp.

Definition at line 78 of file callbackfunctions.hpp.

Definition at line 79 of file callbackfunctions.hpp.

Definition at line 80 of file callbackfunctions.hpp.

Definition at line 81 of file callbackfunctions.hpp.

Definition at line 82 of file callbackfunctions.hpp.


The documentation for this class was generated from the following file:
Generated on Fri May 14 08:02:40 2010 by  doxygen 1.6.3