mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-11-26 13:44:18 +08:00
add author name
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
/**
|
||||
* \file
|
||||
* \brief Solve the equation \f$f(x)=0\f$ using [Newton-Raphson
|
||||
* method](https://en.wikipedia.org/wiki/Newton%27s_method)
|
||||
* method](https://en.wikipedia.org/wiki/Newton%27s_method) for both real and
|
||||
* complex solutions
|
||||
*
|
||||
* The \f$(i+1)^\text{th}\f$ approximation is given by:
|
||||
* \f[
|
||||
* x_{i+1} = x_i - \frac{f(x_i)}{f'(x_i)}
|
||||
* \f]
|
||||
*
|
||||
* \author [Krishna Vedala](https://github.com/kvedala)
|
||||
* \see bisection_method.cpp, false_position.cpp
|
||||
*/
|
||||
#include <cmath>
|
||||
|
||||
Reference in New Issue
Block a user