JuliaDiff / JuliaDiff/ForwardDiff.jl

Numerical derivative of a time dependent function defined by two arrays

Open
#390 4 comments 0 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 it possible to use ForwardDiff to find the numerical scalar derivative of a time dependent function defined with two arrays? For example:

t=[0 1 2 3 4 5 6 7 8 9] #time array with uniform time step
magnitude=[1 4 6 4 3 0 1 2 4 6] #magnitude of the time dependent function at each time step

Something like derivative(magnitude , t)? The output would be an array of the same length as 't' and 'magnitude'.

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

The issue names ForwardDiff and the arrays t and magnitude, but it identifies no source file, test, or entry point. First clarify whether sampled array values should be supported and what derivative behavior is expected; done would require an agreed result for the example inputs.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.