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

Document parameter usage #256

Closed
fonsp opened this issue Nov 7, 2024 · 1 comment
Closed

Document parameter usage #256

fonsp opened this issue Nov 7, 2024 · 1 comment
Labels
question Further information is requested

Comments

@fonsp
Copy link

fonsp commented Nov 7, 2024

Question❓

Hi! Beginner question:

In the documentation I cannot find how to use p, the parameter argument. There is one example in the README where p is a number, but how can I give more than one number? Can p be a named tuple? It might be nice to document this in https://docs.sciml.ai/Integrals/stable/basics/IntegralProblem/

@fonsp fonsp added the question Further information is requested label Nov 7, 2024
@ChrisRackauckas
Copy link
Member

p can be any Julia type. If you need to autodiff then it needs to be an autodiff-able container type, so basically an Array (or ComponentArray etc.). But there's no restriction on the type of p for a forward pass.

@fonsp fonsp closed this as completed Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants