Notice I force user to provide three functions: f, df and fdf.
We could instead have allowed fdf to be optional and internal wrapping mechanism would call user-provided f and df when GSL asks for fdf. But I left it simple for now. We can always extend?
Notice I force user to provide three functions: f, df and fdf.
We could instead have allowed fdf to be optional and internal wrapping mechanism would call user-provided f and df when GSL asks for fdf. But I left it simple for now. We can always extend?