numODEsolver 2.0.0__py3-none-any.whl → 2.0.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ from .solver import Solver
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: numODEsolver
3
- Version: 2.0.0
3
+ Version: 2.0.2
4
4
  Summary: Tool that solves ODE's numerically. Written in Python.
5
5
  Home-page: https://github.com/lukasnf/Numerical-ODE-Solver
6
6
  Classifier: Programming Language :: Python :: 3
@@ -44,11 +44,11 @@ f = solver.get_function("y")
44
44
  values = solver.rk4_1order(f,x0=0,y0=1,n=10000,bound=10.1)
45
45
  n = solver.get_value(values,val=10,dec=5)
46
46
  print(n)
47
- plt.plot(results[:,0],results[:,1])
47
+ plt.plot(values[:,0],values[:,1])
48
48
  plt.show()
49
49
  ```
50
50
  ```bash
51
- from numODEsolver import solver
51
+ import numODEsolver as solver
52
52
 
53
53
  solver = ns.Solver()
54
54
  f = solver.get_function("y'+y") #y' = for 1st derivative. The ode would be y'' = y'+y
@@ -0,0 +1,7 @@
1
+ numODEsolver/__init__.py,sha256=DhJ68tBHDDwR8f_PIYsP5mI_y_4q4pdoKYVrGaYnlaI,26
2
+ numODEsolver/solver.py,sha256=pStGfhx2Bmw21zzU_wL0_7GCUWt3v1Hvb52w37tNQWk,2840
3
+ numodesolver-2.0.2.dist-info/licenses/LICENSE,sha256=B1LP4xi1JhMSHUlkccB-_2VoeKE8r2jbuvGFUzqJ70Y,1065
4
+ numodesolver-2.0.2.dist-info/METADATA,sha256=iyJWhdB6DeBHWS-_eiTOCLwPQ0Dr5JE9uTGM8fZlBE8,2244
5
+ numodesolver-2.0.2.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
6
+ numodesolver-2.0.2.dist-info/top_level.txt,sha256=G-8gaHtECVQ5G30bl_5w1UUSZ7L380bwmNo-6_r74hc,13
7
+ numodesolver-2.0.2.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- numODEsolver/solver.py,sha256=pStGfhx2Bmw21zzU_wL0_7GCUWt3v1Hvb52w37tNQWk,2840
2
- numodesolver-2.0.0.dist-info/licenses/LICENSE,sha256=B1LP4xi1JhMSHUlkccB-_2VoeKE8r2jbuvGFUzqJ70Y,1065
3
- numodesolver-2.0.0.dist-info/METADATA,sha256=lseKvgnWbwBWt67bRa8L6-SZWD86QQ61O_SDHk46now,2248
4
- numodesolver-2.0.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
5
- numodesolver-2.0.0.dist-info/top_level.txt,sha256=G-8gaHtECVQ5G30bl_5w1UUSZ7L380bwmNo-6_r74hc,13
6
- numodesolver-2.0.0.dist-info/RECORD,,