We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems to me that there is a problem with cos derivatives in composite functions:
cos
julia> D = (f, x) -> AbstractDifferentiation.derivative(DiffractorForwardBackend(), f, x)[1]; julia> D(x -> exp(cos(x)), 1.0) -1.952024889228184 julia> exp(cos(1.0)) * (-sin(1.0)) -1.4444065708474794 julia> exp(sin(1.0)) * (-sin(1.0)) -1.952024889228184
Surprisingly, everything is OK with sin derivatives:
sin
julia> D(x -> exp(sin(x)), 1.0) 1.253380767493447 julia> exp(sin(1.0)) * cos(1.0) 1.253380767493447
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It seems to me that there is a problem with
cos
derivatives in composite functions:Surprisingly, everything is OK with
sin
derivatives:The text was updated successfully, but these errors were encountered: