numerical/newton_raphson library

Functions

newtonRaphson<T extends num>(double f(double x), double df(double x)?, T initialGuess, {int maxIter = 100, double tol = 1e-12, double epsDerivative = 1e-12}) double
High-performance Newton–Raphson root finder with optional numeric derivative.