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

Replace function_value_<N>d with something more general #19

Open
marcinlos opened this issue Jun 24, 2021 · 0 comments
Open

Replace function_value_<N>d with something more general #19

marcinlos opened this issue Jun 24, 2021 · 0 comments

Comments

@marcinlos
Copy link
Owner

While these classes do the job and are widely used in the example codes, they are more of a quick hack than a proper solution. They should be replaced with a template struct offering a more complete interface (e.g. multiplication of values + derivatives). Direct access to fields (.dx etc.) can be replaced by free functions found by ADL.

A general, long-term solution would be to implement the concept of a jet, although ideally, that would require some fixed-size multilinear algebra utilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant