A bunch of numerical methods that I implemented in C++17 for some college assignments
All methods were taken from the book "Métodos numéricos para ingenieros - Quinta Edición" by Steven C. Chapra & Raymond P. Canale
The excercises where probably taken from there too, i didn't check lmao
Root finding
Systems of linear equations solving
Ordinary Differential Equation solving
Polynomial interpolation
Integration
Tested on Debian 12 Bookworm and Arch Linux. You will need the following dependencies:
$ sudo apt install libarmadillo-dev liblaplack-dev libopenblas-dev
You will also need gnuplot if you want to plot the ODEs (uncomment the PLOT_THINGS define)
Then build and execute the project by doing the following:
$ cmake -B build -DCMAKE_BUILD_TYPE=Release
$ make -C build -j4
$ ./build/metnum