Skip to content
New issue

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

add normals #54

Closed
vpuri3 opened this issue Oct 18, 2021 · 1 comment
Closed

add normals #54

vpuri3 opened this issue Oct 18, 2021 · 1 comment

Comments

@vpuri3
Copy link
Contributor

vpuri3 commented Oct 18, 2021

implement normals in Descartes.

julia> using Descartes
julia> using ForwardDiff
julia> p = Circle(1.0)
julia> ForwardDiff.gradient(f,[1,0])
2-element Vector{Float64}:
 1.0
 0.0

can switch to FiniteDiff if ForwardDiff/Zygote doesn't play well with max type operations

@sjkelly
Copy link
Member

sjkelly commented Jul 7, 2024

This is on master now

@sjkelly sjkelly closed this as completed Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants