thomfoster / treeQuadrature

1 stars 1 forks source link

Do we need exampleDistributions and exampleProblems? #25

Open ben18785 opened 2 years ago

ben18785 commented 2 years ago

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

ben18785 commented 2 years ago

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.

and so on.

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