Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.17 KB

README.md

File metadata and controls

33 lines (20 loc) · 1.17 KB

numericalIntegration

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

Getting Started

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

Screen capture of programm execution

Prerequisites

  • fmt external library used for formatting and printing results

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details