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

Do we need exampleDistributions and exampleProblems? #25

Open
ben18785 opened this issue Mar 30, 2022 · 1 comment
Open

Do we need exampleDistributions and exampleProblems? #25

ben18785 opened this issue Mar 30, 2022 · 1 comment

Comments

@ben18785
Copy link
Collaborator

The former seems provide functions that would only be useful for the latter. I'd suggest that we combine these...

@ben18785
Copy link
Collaborator Author

Instead, we have a plan to refactor toy problems into dictionaries that have the same arguments that correspond to integrate as described in #26. One issue with this is how to allow toy problems to allow a variable number of dimensions. One way is to have this controlled by the length of the vector passed to the function. E.g.

  • normal_any_d([0.5]) would assume that the problem was 1D
  • normal_any_d([0.5, -3.2]) would assume that the problem was 2D
  • normal_any_d([0.5, -3.2, 0.2]) would assume that the problem was 3D

and so on.

This seems a bit unusual to me but I guess in principle if could work?

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

1 participant