Per A. Brodtkorb

Results 12 comments of Per A. Brodtkorb

The problem here is that the function you are differentiating is very steep around the second parameter and therefore numdifftools fails. Numdifftools is only reliable on smooth slowly varying functions....

Well that is debatable according to https://nxg.me.uk/note/2005/singular-data/ and https://en.wikipedia.org/wiki/Data_(word). In precise geodesy, for example, a ‘datum’ is the term for one of several models of the shape of the earth,...

According to https://en.wikipedia.org/wiki/Data_(word) data is most often used as a singular mass noun in everyday usage. Some use it either in the singular or plural. The Associated Press style guide...

My point is that "data" as a singular form is far more common according to https://en.wikipedia.org/wiki/Data_(word) than the latin word "datum". In English, the word datum is still used in...

[See example 2](https://github.com/pbrod/nvector) or the GeoPoint.displace method.

Isn't that what the Hessian wrapper class do already? The Hessian wrapper computes the Hessian matrix of the scalar function f with respect to a vector constructed from all variables...

It is difficult to comment on this without an example. Can give a complete code-example @parsaDarbouy.

Currently there is no easy way to calculate the general multivariate partial derivative like this ![\begin{align*} \frac{\partial^{n_0}}{\partial x_0^{n_0}}\dots\frac{\partial^{n_d} }{\partial x_d^{n_d}} f(x_0, \ldots, x_d) \end{align*} ](https://render.githubusercontent.com/render/math?math=%5Cdisplaystyle+%5Cbegin%7Balign%2A%7D%0A%5Cfrac%7B%5Cpartial%5E%7Bn_0%7D%7D%7B%5Cpartial+x_0%5E%7Bn_0%7D%7D%5Cdots%5Cfrac%7B%5Cpartial%5E%7Bn_d%7D+%7D%7B%5Cpartial+x_d%5E%7Bn_d%7D%7D+f%28x_0%2C+%5Cldots%2C+x_d%29%0A%5Cend%7Balign%2A%7D%0A) with numdifftools. However, for n=1...

Ok, I can do that in the next release.

Just note that scipy is not optional! Only algopy statsmodels matplotlib can be made optional