JuliaDiff / JuliaDiff/HyperDualNumbers.jl

add real (and imag)

Open
#38 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
43
Forks
16
PR merge metrics
No merged PRs in 30d

Description

First I would like to say thank you, I have written my Master Thesis using this package (unfortunately a couple of years ago).

Second,I am trying to use this package to differentiate algos in an agnostic way (meaning that the function has no specialization regarding the number type).
I see that there is no specialization for the implementation of functions real and imag that are implemented for Complex but not for Hyper(Complex).
I think it makes sense to implement them.

Regards,

rcalxrc08

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 locating the existing real and imag implementations for Complex and the corresponding HyperComplex type. Add the missing HyperComplex behavior and verify that both functions work for HyperDualNumbers without number-type specialization.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.