EnzymeAD / EnzymeAD/Enzyme

Unsupported operators when differentiating `std::complex` operations

Open
#2,845 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
LLVM
Stars
1.7k
Forks
188
Avg merge
1d 22h
Merged PRs (30d)
26

Description

I am trying to use Enzyme to differentiate functions involving `std::complex` values. I found that most operators are unsupported. Is this expected? Specifically,

- pow(a, b) when a or b is a complex number
- sin, cos, exp, sqrt, log, tan, asin, acos, atan, log1p, sinh, cosh, tanh, sinh, cosh, tanh

It seems that Enzyme's current support for differentiation involving complex numbers is quite limited. Is there any plan to extend the support?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.