Skip to content

Numerical integration methods as discussed on thoughts-on-cpp.com

License

Notifications You must be signed in to change notification settings

Ben1980/numericalIntegration

Repository files navigation

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

About

Numerical integration methods as discussed on thoughts-on-cpp.com

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published