SciSharp / NumSharp

High Performance Computation for N-D Tensors in .NET, similar API to NumPy.
https://github.com/SciSharp
Apache License 2.0
1.38k stars 192 forks source link

Give an example with Shallow water equations #165

Closed dotChris90 closed 5 years ago

dotChris90 commented 5 years ago

Solving differential equations is one important area in numpy so it should be also in NumSharp.

The shallow water equations are a nice but still mature example in "fluid" numerics. Can read some background about it on https://en.wikipedia.org/wiki/Shallow_water_equations.

Maybe it would be great to have such an example on our doc - just to demonstrate how to use NumSharp in practise.

There is a numpy implementation on github https://github.com/mrocklin/ShallowWater/blob/master/shallowwater_simple.py. Maybe could try to adapt for numsharp.

dotChris90 commented 5 years ago

The following APIs must be implemented. As far as i can see.