src/CXXTests/testNewtonRaphson.hh
//------------------------------------------------------------------------------
// A function we can use to call the Newton-Raphson method with instances of the
// TestFunction class.
//------------------------------------------------------------------------------
A function we can use to call the Newton-Raphson method with instances of the
TestFunction class.
A function we can use to call the Newton - Raphson method with instances of the TestFunction class .
double
testNewtonRaphsonRoot(const TestFunction& func,
                      const double x1,
                      const double x2) {
  return newtonRaphson(func, x1, x2);
}
double testNewtonRaphsonRoot ( const TestFunction & func , const double x1 , const double x2 ) { return newtonRaphson ( func , x1 , x2 ) ; }
A function we can use to call the Newton-Raphson method with instances of the
TestFunction class.
A function we can use to call the Newton - Raphson method with instances of the TestFunction class .