Artifact 79adf97ac2f3b9f9de41d3aa5aefedf22d6d7b8499f138883b5af9a552f36d3e:
- File mttroot/mtt/lib/cc/mtt_Hybrd_Solver.hh — part of check-in [6e5926c3aa] at 2001-06-05 03:20:40 on branch origin/numerical-algebraic-solution — added -ae option to select algebraic equation solution method. (user: geraint@users.sourceforge.net, size: 498) [annotate] [blame] [check-ins using] [more...]
#include "mtt_Solver.hh" #include <octave/NLEqn.h> class Hybrd_Solver : public Solver { // http://www.netlib.org/minpack/hybrd.f // used by Octave's fsolve public: Hybrd_Solver (sys_ae ae, const int npar, const int nu, const int nx, const int ny, const int nyz) : Solver (ae,npar,nu,nx,ny,nyz) { static_ptr = this; } static ColumnVector f_hybrd (const ColumnVector &tryUi); protected: void Solve (void); public: static Hybrd_Solver *static_ptr; };