|
Algorithms_in_C 1.0.0
Set of algorithms implemented in C.
|
Find approximate solution for \(f(x) = 0\) using Newton-Raphson interpolation algorithm. More...
#include <complex.h>#include <limits.h>#include <math.h>#include <stdio.h>#include <stdlib.h>#include <time.h>Macros | |
| #define | ACCURACY 1e-10 |
| solution accuracy | |
Functions | |
| double complex | func (double complex x) |
| Return value of the function to find the root for. | |
| double complex | d_func (double complex x) |
| Return first order derivative of the function. | |
| int | main (int argc, char **argv) |
| main function | |
Find approximate solution for \(f(x) = 0\) using Newton-Raphson interpolation algorithm.
| double complex d_func | ( | double complex | x | ) |
Return first order derivative of the function.
\(f'(x)\)
| double complex func | ( | double complex | x | ) |
Return value of the function to find the root for.
\(f(x)\)
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
main function