All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions
o2scl::root_toms748< func_t > Class Template Reference

Wrapper for Boost 1-d solver. More...

Detailed Description

template<class func_t = funct11>
class o2scl::root_toms748< func_t >

Definition at line 39 of file root_toms748.h.

#include <root_toms748.h>

Inheritance diagram for o2scl::root_toms748< func_t >:
o2scl::root_bkt< func_t > o2scl::root< func_t, func_t >

Public Member Functions

virtual const char * type ()
 Return the type, "root_toms748".
 
virtual int solve_bkt (double &x1, double x2, func_t &func)
 Solve func using x as an initial guess, returning x.
 
- Public Member Functions inherited from o2scl::root_bkt< func_t >
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, func_t &df)
 Solve func using x as an initial guess using derivatives df.
 
- Public Member Functions inherited from o2scl::root< func_t, func_t >
virtual int print_iter (double x, double y, int iter, double value=0.0, double limit=0.0, std::string comment="")
 Print out iteration information. More...
 

Additional Inherited Members

- Data Fields inherited from o2scl::root_bkt< func_t >
double bracket_step
 The stepsize for automatic bracketing (default $ 10^{-4} $) More...
 
size_t bracket_iters
 The number of iterations in attempt to bracket root (default 10)
 
- Data Fields inherited from o2scl::root< func_t, func_t >
double tol_rel
 The maximum value of the functions for success (default $ 10^{-8} $ )
 
double tol_abs
 The minimum allowable stepsize (default $ 10^{-12} $ )
 
int verbose
 Output control (default 0)
 
int ntrial
 Maximum number of iterations (default 100)
 
bool err_nonconv
 If true, call the error handler if the solver does not converge (default true)
 
int last_ntrial
 The number of iterations used in the most recent solve.
 

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

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).
Hosted at Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads..