Skip to main content

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

numericalAnalysisTool-0.3.0.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

numericalAnalysisTool-0.3.0-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page