JuliaDiff / JuliaDiff/ForwardDiff.jl

Plans for supporting Laplacian operator?

Open
#496 2 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
1k
Forks
160
PR merge metrics
No merged PRs in 30d

Description

Is there any plan to support the Laplacian out of the box? I like the simplicity of ForwardDiff.jl, but right now I am defining the Laplacian operator as

laplacian(f::Function, r) = sum(diag(ForwardDiff.hessian(f,r)))

which is certainly not optimal.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the ForwardDiff.hessian entry point and the issue's current Julia expression using diag and sum. Determine the intended out-of-the-box Laplacian support and how it should improve on that expression; done means the requested operator is supported with an agreed API and appropriate validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.