thomfoster / treeQuadrature

1 stars 1 forks source link

Refactor integrators to take keyword arguments #26

Open ben18785 opened 2 years ago

ben18785 commented 2 years ago

At the moment, integrators take Problems. This means users have to wrap their code up into classes. Instead we want integrators to take keyword arguments:

integrate(function=f, low=a, high=b)

Should the number of dims come from the length of a or b or should there be a separate keyword argument dims?