Skip to content

Cross derivatives of a multivariate function? #205

@daisukeadachi

Description

@daisukeadachi

Hello,

I hope all is well. I have a question about the title. I am interested in computing a $M\times N \times N$ three-way array of derivatives:

$\frac{\partial^{2}f_{i}}{\partial x_{j}\partial x_{k}}$

where $f$ is a $M$ vector of functions $f_i \ (i=1,\ldots,M)$, and each $f_i$ takes $x \in \mathbb{R}^N$ as its arguments. What is the best way to compute this object in FiniteDifferences.jl?

This is clearly not a Jacobian, but I tried to do jacobian(central_fdm(5,2), myfun, myval) just to what it gives. It did not give an error or an $M\times N \times N$ array but an $M\times N$ array. So what is it supposed to compute?

Best,
Daisuke

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions