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 seed_duals convenience and document how to seed Dual numbers #379

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ChrisRackauckas
Copy link
Member

Using the Dual implementation in ForwardDiff can be quite useful. This documents how to do it, and adds a seeding function seed_duals which seeds a unique partial for every component of a vector, much like is done internally (in fact, should it be used internally?).

@KristofferC
Copy link
Collaborator

FWIW, this increases the API surface of ForwardDiff considerably. Dual numbers are not even mentioned in the manual (except in the implementation details).

@pkofod
Copy link

pkofod commented Mar 4, 2019

FWIW, this increases the API surface of ForwardDiff considerably. Dual numbers are not even mentioned in the manual (except in the implementation details).

This is in the advanced section of the docs though.

@ChrisRackauckas ChrisRackauckas mentioned this pull request Aug 27, 2020
src/dual.jl Outdated Show resolved Hide resolved
Co-authored-by: Yuto Horikawa <hyrodium@gmail.com>
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

Successfully merging this pull request may close these issues.

None yet

4 participants