herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
matchbox::gsl::bisection_root_solver< Function, MaxIterations > Struct Template Reference

wrapper araound the bisection root solver More...

#include <gsl.h>

Public Member Functions

 bisection_root_solver (const Function &thef)
 constructor – allocates the solver
 
 ~bisection_root_solver ()
 destructor – frees the solver
 
double solve (std::pair< double, double > interval, double precision=.000001)
 solve for root given initial interval
 

Public Attributes

Function f
 function object representing the equation to be solved
 
gsl_root_fsolver * s
 the gsl solver used
 

Detailed Description

template<class Function, unsigned long MaxIterations>
struct matchbox::gsl::bisection_root_solver< Function, MaxIterations >

wrapper araound the bisection root solver

Definition at line 23 of file gsl.h.


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