derivative in numpy
gherron at islandtraining.com
Tue Jul 29 00:58:37 CEST 2008
knielsen73 at gmail.com wrote:
> I am looking to do a simple derivative. I would expect such a function
> to be available in numpy, but can't find it. I have written my own,
> but just curious if anybody knows of such function in numpy.
Derivatives are a property of functions. Since numpy provides
representations of arrays not functions, how would you expect this to work?
To be more concrete, what you you expect the derivative of
[ [ 1 2 ]
[ 3 4 ]
Or do you have in mind some array representation of the coefficients of
a function of some pre-defined type - like a polynomial?
More information about the Python-list