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
Close
Hashes for numericalAnalysisTool-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3eca5a6e8ddd3fd797addb4307847881784421f0e9e5fb420dfe5b58ad1c1782 |
|
MD5 | 00d818631193fc7dc108cbd117adf86b |
|
BLAKE2b-256 | 03573f9279a5f46bac854ce6e1476da6ae314fcdb854308727dabcfdf6f4ede3 |
Close
Hashes for numericalAnalysisTool-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 425d18f34e68055f651f850eb54e5996b28321c3fa9f6eba0f0e69d9274c88a7 |
|
MD5 | 185607c7596067e42fcb5e93d1127d55 |
|
BLAKE2b-256 | 6f0037651f95b2976aabfbc25b0cf0f0cd36bc2637264d3ea66d10b4c741180a |