#ifndef ROO_BRENT_ROOT_FINDER
#define ROO_BRENT_ROOT_FINDER
#include "RooAbsRootFinder.h"
class RooBrentRootFinder : public RooAbsRootFinder {
public:
RooBrentRootFinder(const RooAbsFunc& function);
inline virtual ~RooBrentRootFinder() { }
virtual Bool_t findRoot(Double_t &result, Double_t xlo, Double_t xhi, Double_t value= 0) const;
void setTol(Double_t tol) {
_tol = tol ;
}
protected:
enum { MaxIterations = 512 };
Double_t _tol ;
ClassDef(RooBrentRootFinder,0)
};
#endif
Last change: Wed Jun 25 08:32:08 2008
Last generated: 2008-06-25 08:32
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.