compbio
|
Finds a zero of a system of n nonlinear functions in n variables by a modification of the Powell hybrid method ("dogleg"). More...
#include <HybridNonLinearSolver.h>
Classes | |
struct | Parameters |
Public Types | |
typedef DenseIndex | Index |
typedef Matrix< Scalar, Dynamic, 1 > | FVectorType |
typedef Matrix< Scalar, Dynamic, Dynamic > | JacobianType |
typedef Matrix< Scalar, Dynamic, Dynamic > | UpperTriangularType |
Public Member Functions | |
HybridNonLinearSolver (FunctorType &_functor) | |
HybridNonLinearSolverSpace::Status | hybrj1 (FVectorType &x, const Scalar tol=std::sqrt(NumTraits< Scalar >::epsilon())) |
HybridNonLinearSolverSpace::Status | solveInit (FVectorType &x) |
HybridNonLinearSolverSpace::Status | solveOneStep (FVectorType &x) |
HybridNonLinearSolverSpace::Status | solve (FVectorType &x) |
HybridNonLinearSolverSpace::Status | hybrd1 (FVectorType &x, const Scalar tol=std::sqrt(NumTraits< Scalar >::epsilon())) |
HybridNonLinearSolverSpace::Status | solveNumericalDiffInit (FVectorType &x) |
HybridNonLinearSolverSpace::Status | solveNumericalDiffOneStep (FVectorType &x) |
HybridNonLinearSolverSpace::Status | solveNumericalDiff (FVectorType &x) |
void | resetParameters (void) |
Public Attributes | |
Parameters | parameters |
FVectorType | fvec |
FVectorType | qtf |
FVectorType | diag |
JacobianType | fjac |
UpperTriangularType | R |
Index | nfev |
Index | njev |
Index | iter |
Scalar | fnorm |
bool | useExternalScaling |
Finds a zero of a system of n nonlinear functions in n variables by a modification of the Powell hybrid method ("dogleg").
The user must provide a subroutine which calculates the functions. The Jacobian is either provided by the user, or approximated using a forward-difference method.