JuliaDiff / JuliaDiff/DiffRules.jl

Derivatives of max and min

Open
#68 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
74
Forks
36
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Should we enforce that the derivatives of max(x, y) and min(x, y) are undefined when x == y?

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 does not identify files, tests, or an entry point. First review how DiffRules.jl currently defines derivatives for max and min, then clarify the intended behavior at x == y. Done requires an agreed rule for equality and tests covering the resulting derivative behavior.

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.