python - two math requirements
Hi!
I'm working on pythogoras, a personal music research project. I'm working on adding sampling synthesis. At the moment I need to solve two problems and would like to know the simplest way to work around them on python. I know I could sit down to solve them by hand but perhaps there are already standard libraries that can take care of both things: - Given 4 pairs (x, y) that define a function (think of 3rd degree function), what is the root (x where y = 0)? There will one and only one root in my case. - Given 4 pairs (x, y) (again, 3rd degree function), what is the value of y for a given x? So it all revolves around 3rd degree functions. What libraries are available out there for this? Thanks in advance. |
|
You have the problem, so now you need a model to solve the problem before you can get into the code. You should formalize the steps of the process first, e.g.
Kevin Barry |
To work with matrixes in python you will need something like NumPy
|
All times are GMT -5. The time now is 08:35 PM. |