Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

License

NotificationsYou must be signed in to change notification settings

physical-computation/Computational-Finance-Benchmarks-CPP-C

Repository files navigation

These computational finance benchmarks are adapted from Python code from a course by Lech A. Grzelak:https://github.com/LechGrzelak/Computational-Finance-Course/tree/mainAll benchmarks have 25 paths and 500 steps. You can edit the variablesNoOfPaths andNoOfSteps to increase or decrease the number of paths and steps in each benchmark.

C++ Computational Finance Benchmarks

To compile the C++ versions of the benchmarks type:g++ -std=c++11 <name of benchmark>.cpp in the directory of the benchmark you want to compile.To run the compiled benchmark type:./a.out in the directory of the benchmark you just compiled.

C Computational Finance Benchmarks

You will need to download and install the GNU Scientific Library to run the C versions of the benchmarks. For Mac OS you can use MacPorts or Brew. Use an appropriate package manager for your operating system.To compile the C versions of the benchmarks type:gcc -Wall -I/opt/local -lgsl -lgslcblas <name of benchmark>.c in the directory of the benchmark you want to compile.To run the compiled benchmark type:./a.out in the directory of the benchmark you just compiled.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp