Dynamical systems in biology
BIO-341
C++ implementation to find the zero of a function using Newton'Raphson method
This page is part of the content downloaded from C++ implementation to find the zero of a function using Newton'Raphson method on Wednesday, 25 December 2024, 20:38. Note that some content and any files larger than 50 MB are not downloaded.
Description
Compile and run with these commands in a terminal window (replace g++ by any c++ compiler):
> g++ -c -O3 newton.cpp
> g++ -o newton newton.o
> newton