[eigen] Non linear solver questions |
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
VectorXd x(2);
hybrd_functor functor;
HybridNonLinearSolver<hybrd_functor> solver(functor);
solver.parameters.nb_of_subdiagonals = 1;
solver.parameters.nb_of_superdiagonals = 1;
solver.diag.setConstant(n, 1.);
solver.useExternalScaling = true;
if (solver.solveNumericalDiff(x) != 1)
Cout() << "No convergence!";
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |