A collection of numerical integration methods, as discussed on thoughts-on-coding.com.
Numerical Methods in C++ Part 1: Newton-Cotes Integration
- Trapezoidal
- Simpson rule
- Romberg
Numerical Methods in C++ Part 2: Gauss-Legendre Integration
- Gauss-Legendre
To get it up and running you just need to execute:
~\numericalIntegration\build\cmake .. -DCMAKE_TOOLCHAIN_FILE={YOUR_PATH_TO_VCPKG}/scripts/buildsystems/vcpkg.cmake
~\numericalIntegration\build\cmake --build .
You can execute the program by ./numericalIntegration
- fmt external library used for formatting and printing results
- Benjamin Mahr - Ben1980
This project is licensed under the MIT License - see the LICENSE file for details