You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on feedback from my students, the current interface based on inheritance is not intuitive.
How about adding a new keyword parameter batchedfunc to optimize! and crossinterpolate and so on?
This is similar to scipy optimizer interface, where we can pass a function computing derivative, with jac.
Is your proposal to just add a boolean batchedfunc, in which case the function will receive sets of indices instead of being evaluated on each element?
I agree that the current interface is not very intuitive, but I'm not sure how much of an improvement this would be.
Based on feedback from my students, the current interface based on inheritance is not intuitive.
How about adding a new keyword parameter
batchedfunc
tooptimize!
andcrossinterpolate
and so on?This is similar to scipy optimizer interface, where we can pass a function computing derivative, with
jac
.@rittermarc
What do you think?
The text was updated successfully, but these errors were encountered: