JuliaDiff / JuliaDiff/FiniteDifferences.jl
Cross derivatives of a multivariate function?
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 318
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the public jacobian and central_fdm entry points used in the issue, and check how they handle the vector-valued myfun. Determine whether the requested M×N×N cross-derivative object is supported; done means the supported usage or limitation is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100