Skip to content

vincentmader/finite-differences.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Finite Differences

In this small python project, various different methods of derivative discretization are compared.

Setup

To run the code, you need to have `python3` installed on your machine.

If you also have the `make` CLI tool, you can run the project by executing the following two commands:

make setup
make fd

If you don’t, you can also navigate to the `./bin/` directory and execute the two binaries manually from there.

cd ./bin
./setup
./run

./out/fd-comparison.png ./out/fd-error-vs-x.png ./out/fd-error-vs-h.png

About

comparison of derivative discretization methods

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published