Object-oriented Scientific Computing Library: Version 0.910
Public Member Functions
root_de< func_t, dfunc_t > Class Template Reference

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

#include <root.h>

Inheritance diagram for root_de< func_t, dfunc_t >:
root< func_t > gsl_root_stef< func_t, dfunc_t >

Detailed Description

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

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

Definition at line 259 of file root.h.

Public Member Functions

virtual const char * type ()
 Return the type, "root_de".
virtual int solve_bkt (double &x1, double x2, func_t &func)
 Solve func in region $ x_1<x<x_2 $ returning $ x_1 $ .
virtual int solve (double &x, func_t &func)
 Solve func using x as an initial guess.
virtual int solve_de (double &x, 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:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.