root_de Class Template Reference

1-dimensional with solver with derivatives [abstract base] More...

#include <root.h>

Inheritance diagram for root_de:

root gsl_root_stef

Detailed Description

template<class param_t, class func_t = funct<param_t>, class dfunc_t = func_t>
class root_de< param_t, func_t, dfunc_t >

1-dimensional with solver with derivatives [abstract base]

Idea for future:
At the moment, the functions solve() and solve_bkt() are not implemented for derivative solvers.

Definition at line 267 of file root.h.


Public Member Functions

virtual const char * type ()
 Return the type, "root_de".
virtual int solve_bkt (double &x1, double x2, param_t &pa, func_t &func)
 Solve func in region $ x_1<x<x_2 $ returning $ x_1 $ .
virtual int solve (double &x, param_t &pa, func_t &func)
 Solve func using x as an initial guess.
virtual int solve_de (double &x, param_t &pa, func_t &func, dfunc_t &df)=0
 Solve func using x as an initial guess using derivatives df.

The documentation for this class was generated from the following file:

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page