npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
findRootNewtonRaphson.hh File Reference

Simple root finding when the derivative is known. More...

#include "npstat/nm/SimpleFunctors.hh"
#include "npstat/nm/findRootNewtonRaphson.icc"

Go to the source code of this file.

Namespaces

 npstat
 

Functions

template<typename Numeric >
bool npstat::findRootNewtonRaphson (const PairFunctor< Numeric > &f, Numeric rhs, Numeric x0, Numeric tol, Numeric *x, Numeric *deriv=0)
 

Detailed Description

Simple root finding when the derivative is known.

Author: I. Volobouev

July 2016