How to use multilarge_nlinear?
I'm trying to figure out how to use this library in order to do nonlinear least-squares fitting using multilarge_nlinear but this library doesn't seem to have the high level driver that the original GNU library does. I am, however, finding a gsl_multilarge_nlinear_solver in this library which doesn't seem to match up (type vs. function, etc).
I've scoured both this documentation and the GNU documentation but it's been a really long time since I've done anything in C and I'm having a hard time figuring this out. Can someone provide an example of how to use this library for nonlinear least-squares fiting for large systems (multilarge_nlinear)?
I've never tried out the multilarge_nlinear interface, so I'm afraid I can't be of much help here. The high-level driver might not have made it into this interface because the wrapper generator didn't know what to do with the callback, but the types and functions that did make it can be found here:
https://github.com/JuliaMath/GSL.jl/blob/master/src/gen/gsl_types.jl#L5023
and here:
https://github.com/JuliaMath/GSL.jl/blob/master/src/gen/direct_wrappers/gsl_multilarge_nlinear_h.jl
Passing references to Julia functions is however a bit tricky, but perhaps you can get some guidance from the example on root finding: https://github.com/JuliaMath/GSL.jl/blob/master/examples/35_Multidimensional_Root_Finding.jl
If you do manage to make it work, a working example for the examples section would be much appreciated :)