Yes, the motivation was to allow passing options specific to the BFGS 
algorithm by using BFGS(foo=bar).

On Tuesday, May 3, 2016 at 6:27:42 AM UTC-4, Kristoffer Carlsson wrote:
>
> Dispatching on Type{xx} is quite inconvenient and loocks the API a lot. By 
> using an instance you still have the option to add fields to the type and 
> to use different types that dispatch to the same function. 

Reply via email to