Skip to content

Unsupported operators when differentiating std::complex operations #2845

Description

@shadow-orange41

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions