|
Public Member Functions |
| | LSQNLF () |
| | LSQNLF (int ndim, int lsqterms) |
| | LSQNLF (int ndim, int lsqterms, USERFCNLSQ0 f, INITFCN i, CompoundConstraint *constraint=0) |
| | LSQNLF (int ndim, int lsqterms, USERFCNLSQ1 f, INITFCN i, CompoundConstraint *constraint=0) |
| | LSQNLF (int ndim, int lsqterms, USERFCNLSQ0 f, INITFCN i, INITCONFCN c) |
| | LSQNLF (int ndim, int lsqterms, USERFCNLSQ1 f, INITFCN i, INITCONFCN c) |
| | LSQNLF (int ndim, int lsqterms, USERFCNLSQ0V f, INITFCN i, INITCONFCN c, void *v) |
| | Alternate function pointers with user-supplied void function pointer.
|
| | LSQNLF (int ndim, int lsqterms, USERFCNLSQ1V f, INITFCN i, INITCONFCN c, void *v) |
| | LSQNLF () |
| | LSQNLF (int ndim, int lsqterms) |
| | LSQNLF (int ndim, int lsqterms, USERFCNLSQ0 f, INITFCN i, CompoundConstraint *constraint=0) |
| | LSQNLF (int ndim, int lsqterms, USERFCNLSQ1 f, INITFCN i, CompoundConstraint *constraint=0) |
| | LSQNLF (int ndim, int lsqterms, USERFCNLSQ0 f, INITFCN i, INITCONFCN c) |
| | LSQNLF (int ndim, int lsqterms, USERFCNLSQ1 f, INITFCN i, INITCONFCN c) |
| | LSQNLF (int ndim, int lsqterms, USERFCNLSQ0V f, INITFCN i, INITCONFCN c, void *v) |
| | Alternate function pointers with user-supplied void function pointer.
|
| | LSQNLF (int ndim, int lsqterms, USERFCNLSQ1V f, INITFCN i, INITCONFCN c, void *v) |
| virtual | ~LSQNLF () |
| void | setFcnResidual (NEWMAT::ColumnVector &f) |
| NEWMAT::ColumnVector | getFcnResidual () const |
| virtual void | reset () |
| | Reset parameters.
|
| virtual void | initFcn () |
| | Initialize selected function.
|
| virtual void | eval () |
| | Evaluate the function, gradient, and Hessian.
|
| virtual real | evalF () |
| | Evaluate the function.
|
| virtual real | evalF (const NEWMAT::ColumnVector &x) |
| | Evaluate the function at x.
|
| virtual NEWMAT::ColumnVector | evalG () |
| | Evaluate a finite-difference gradient.
|
| virtual NEWMAT::ColumnVector | evalG (const NEWMAT::ColumnVector &x) |
| | Evaluate a finite-difference gradient at x.
|
| virtual NEWMAT::SymmetricMatrix | evalH () |
| | Evaluate the Hessian.
|
| virtual real | evalLagrangian (const NEWMAT::ColumnVector &x, NEWMAT::ColumnVector &mult, const NEWMAT::ColumnVector &type) |
| | Evaluate the Lagrangian at x.
|
| virtual NEWMAT::ColumnVector | evalLagrangianGradient (const NEWMAT::ColumnVector &x, const NEWMAT::ColumnVector &mult, const NEWMAT::ColumnVector &type) |
| | Evaluate the gradient of the Lagrangian at x.
|
| virtual NEWMAT::ColumnVector | evalCF (const NEWMAT::ColumnVector &x) |
| | Evaluate nonlinear constraints at x.
|
| virtual NEWMAT::Matrix | evalCG (const NEWMAT::ColumnVector &x) |
| | Evaluate gradient of nonlinear constraints at x.
|
Static Protected Member Functions |
| void | f0_helper (int n, const NEWMAT::ColumnVector &xc, NEWMAT::ColumnVector &f, int &result, void *v) |
| void | f1_helper (int m, int n, const NEWMAT::ColumnVector &xc, NEWMAT::ColumnVector &f, NEWMAT::Matrix &g, int &result, void *v) |
Protected Attributes |
| USERFCNLSQ0 | fcn0 |
| | User-defined objective function.
|
| USERFCNLSQ0V | fcn0_v |
| | User-defined objective function w/ void ptr.
|
| USERFCNLSQ1 | fcn1 |
| | User-defined objective function.
|
| USERFCNLSQ1V | fcn1_v |
| | User-defined objective function w/ void ptr.
|
| USERNLNCON1 | confcn |
| | User-defined nonlinear constraints.
|
| INITFCN | init_fcn |
| | User-defined initfcn for the obj. function.
|
| INITCONFCN | init_confcn |
| | User-defined initfcn for the constraints.
|
| bool | init_flag |
| | Has the function been initialized?
|
| bool | Jacobian_current |
| | Has the function been updated?
|
| int | lsqterms_ |
| | Number of least square terms in objective.
|
| NEWMAT::ColumnVector | fvector |
| | Vector of objective function values.
|
| NEWMAT::Matrix | Jacobian_ |
| | Jacobian_ of objective function residuals.
|
| NEWMAT::Matrix | partial_jac |
| void * | vptr |
| | Void pointer.
|
Private Member Functions |
| virtual NEWMAT::SymmetricMatrix | evalH (NEWMAT::ColumnVector &x) |
| | Evaluate hessian at x.
|
| virtual NEWMAT::SymmetricMatrix | evalCH (NEWMAT::ColumnVector &x) |
| | Evaluate constraint hessian at x.
|
| virtual OptppArray< NEWMAT::SymmetricMatrix > | evalCH (NEWMAT::ColumnVector &x, int darg) |
| | Evaluate the constraint Hessian at x.
|
| virtual void | evalC (const NEWMAT::ColumnVector &x) |
| NEWMAT::Matrix | LSQFDJac (const NEWMAT::ColumnVector &sx, const NEWMAT::ColumnVector &xc, NEWMAT::ColumnVector &fx, NEWMAT::Matrix &partial_jac) |
| | Construct forward finite-difference Jacobian of objective funtion.
|
| NEWMAT::Matrix | LSQBDJac (const NEWMAT::ColumnVector &sx, const NEWMAT::ColumnVector &xc, NEWMAT::ColumnVector &fx, NEWMAT::Matrix &partial_jac) |
| | Construct backward finite-difference Jacobian of objective funtion.
|
| NEWMAT::Matrix | LSQCDJac (const NEWMAT::ColumnVector &sx, const NEWMAT::ColumnVector &xc, NEWMAT::ColumnVector &fx, NEWMAT::Matrix &partial_jac) |
| | Construct central finite-difference Jacobian of objective funtion.
|
Private Attributes |
| NEWMAT::ColumnVector | tempF |
| | Vector of objective function residuals.
|
| NEWMAT::ColumnVector | specLSQF |
| | Vector of objective function residuals.
|