Numerical anlysis tool kit
Project description
pyNumericalAnalysisToolKit
it's a python module use to make numerical analysis on mathematical formulas
How to install
pip install numericalAnalysisTool
example
You can find other example in examples/ directory.
In this example I will take two function taking two paramter and returning one value.
f\_add(a,b) = a + b
f\_mult(a,b) = a.b
So you will have to define those function
def f_add(a,b):
return a + b
def f_mult(a,b):
return a * b
How to use the tool kit :
from numericalAnalysis.analysor import Analysor
analysor = Analysor()
params_dict = {"a" : [i/100 for i in range(0,100 +1)],# define range value for your parameter a
"b" : range(-20,20,3) # range value for parameter b
}
analysor.add_function(f_mult,params_dict)
analysor.add_function(f_add,params_dict)
analysor.compute()# it will compute product of every possible value for a and b gived before
analysor.draw_linear_2D_graph() # it will draw and save fig in "./graph" directory
It will product in /example/graph directory all graph representing lineplot as the result of those function in function of every parameter.
effect of parameter a
effect of parameter b
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file numericalAnalysisTool-0.3.0.tar.gz
.
File metadata
- Download URL: numericalAnalysisTool-0.3.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
73a24680797725f2f249ba066c0e641f3978793a5f86cd2241eeecf4130cf223
|
|
MD5 |
8a1283c038a5cdb22bf219dc39e0b92d
|
|
BLAKE2b-256 |
2fa023ccdbdcf54a56403372d3548c06b9fd1010f9cf06cb1b0dfae13af0e2ab
|
File details
Details for the file numericalAnalysisTool-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: numericalAnalysisTool-0.3.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
21e16796ec648e5424f0d15df75b5faddfc94b119d0c52cda1b82da37de1a98b
|
|
MD5 |
892b8dd1ad2c2677a3c171b8c1c1b4b8
|
|
BLAKE2b-256 |
25299950b123fe3bb35db94aa1755a412d046becb8a7b4eb7667725a9a7b14ba
|