FGSL: api/nlfit.finc File Reference

FGSL Fortran interface for the GNU scientific library

Functions/Subroutines
nlfit.finc File Reference

## Functions/Subroutines
type(fgsl_multifit_nlinear_type) function | fgsl_multifit_nlinear_setup (s)
type(fgsl_multilarge_nlinear_type) function | fgsl_multilarge_nlinear_setup (s)
type(fgsl_multifit_nlinear_workspace) function | fgsl_multifit_nlinear_alloc (t, params, n, p)
type(fgsl_multilarge_nlinear_workspace) function | fgsl_multilarge_nlinear_alloc (t, params, n, p)
type(fgsl_multifit_nlinear_parameters) function | fgsl_multifit_nlinear_default_parameters ()
type(fgsl_multilarge_nlinear_parameters) function | fgsl_multilarge_nlinear_default_parameters ()
integer(fgsl_int) function | fgsl_multifit_nlinear_init (x, fdf, w)
integer(fgsl_int) function | fgsl_multifit_nlinear_winit (x, wts, fdf, w)
integer(fgsl_int) function | fgsl_multilarge_nlinear_init (x, fdf, w)
integer(fgsl_int) function | fgsl_multilarge_nlinear_winit (x, wts, fdf, w)
subroutine | fgsl_multifit_nlinear_free (w)
subroutine | fgsl_multilarge_nlinear_free (w)
character(kind=fgsl_char, len=fgsl_strmax) function | fgsl_multifit_nlinear_name (w)
character(kind=fgsl_char, len=fgsl_strmax) function | fgsl_multilarge_nlinear_name (w)
character(kind=fgsl_char, len=fgsl_strmax) function | fgsl_multifit_nlinear_trs_name (w)
character(kind=fgsl_char, len=fgsl_strmax) function | fgsl_multilarge_nlinear_trs_name (w)
integer(fgsl_int) function | fgsl_multifit_nlinear_iterate (w)
integer(fgsl_int) function | fgsl_multilarge_nlinear_iterate (w)
type(fgsl_vector) function | fgsl_multifit_nlinear_position (w)
type(fgsl_vector) function | fgsl_multilarge_nlinear_position (w)
type(fgsl_vector) function | fgsl_multifit_nlinear_residual (w)
type(fgsl_vector) function | fgsl_multilarge_nlinear_residual (w)
type(fgsl_matrix) function | fgsl_multifit_nlinear_jac (w)
integer(fgsl_size_t) function | fgsl_multifit_nlinear_niter (w)
integer(fgsl_size_t) function | fgsl_multilarge_nlinear_niter (w)
integer(fgsl_int) function | fgsl_multifit_nlinear_rcond (rcond, w)
integer(fgsl_int) function | fgsl_multilarge_nlinear_rcond (rcond, w)
integer(fgsl_int) function | fgsl_multifit_nlinear_test (xtol, gtol, ftol, info, w)
integer(fgsl_int) function | fgsl_multilarge_nlinear_test (xtol, gtol, ftol, info, w)
integer(fgsl_int) function | fgsl_multifit_nlinear_driver (maxiter, xtol, gtol, ftol, callback, callback_params, info, w)
integer(fgsl_int) function | fgsl_multilarge_nlinear_driver (maxiter, xtol, gtol, ftol, callback, callback_params, info, w)
integer(fgsl_int) function | fgsl_multifit_nlinear_covar (j, epsrel, covar)
integer(fgsl_int) function | fgsl_multilarge_nlinear_covar (covar, w)
type(fgsl_multifit_nlinear_fdf) function | fgsl_multifit_nlinear_fdf_init (ndim, p, params, func, dfunc, fvv)
subroutine | fgsl_multifit_nlinear_fdf_get (fdf, func, dfunc, fvv, n, p, params, nevalf, nevaldf, nevalfvv)
subroutine | fgsl_multifit_nlinear_fdf_free (fun)
logical function | fgsl_multifit_nlinear_status (s)
subroutine | fgsl_multifit_nlinear_parameters_set (params, trs, scale, solver, fdtype, factor_up, factor_down, avmax, h_df, h_fvv)
type(fgsl_multilarge_nlinear_fdf) function | fgsl_multilarge_nlinear_fdf_init (ndim, p, params, func, dfunc, fvv)
subroutine | fgsl_multilarge_nlinear_fdf_free (fun)
subroutine | fgsl_multilarge_nlinear_fdf_get (fdf, func, dfunc, fvv, n, p, params, nevalf, nevaldfu, nevaldf2, nevalfvv)
subroutine | fgsl_multilarge_nlinear_parameters_set (params, trs, scale, solver, fdtype, factor_up, factor_down, avmax, h_df, h_fvv, max_iter, tol)

## Function/Subroutine Documentation

## ◆ fgsl_multifit_nlinear_alloc()

type(fgsl_multifit_nlinear_workspace) function fgsl_multifit_nlinear_alloc | ( | type(fgsl_multifit_nlinear_type), intent(in) | t,
|  | type(fgsl_multifit_nlinear_parameters), intent(in) | params,
|  | integer(fgsl_size_t), intent(in) | n,
|  | integer(fgsl_size_t), intent(in) | p
| ) |  |

## ◆ fgsl_multifit_nlinear_covar()

integer(fgsl_int) function fgsl_multifit_nlinear_covar | ( | type(fgsl_matrix), intent(in) | j,
|  | real(fgsl_double), intent(in) | epsrel,
|  | type(fgsl_matrix), intent(inout) | covar
| ) |  |

## ◆ fgsl_multifit_nlinear_default_parameters()

type(fgsl_multifit_nlinear_parameters) function fgsl_multifit_nlinear_default_parameters

## ◆ fgsl_multifit_nlinear_driver()

integer(fgsl_int) function fgsl_multifit_nlinear_driver | ( | integer(fgsl_size_t), intent(in) | maxiter,
|  | real(fgsl_double), intent(in) | xtol,
|  | real(fgsl_double), intent(in) | gtol,
|  | real(fgsl_double), intent(in) | ftol,
|  | procedure(fgsl_nlinear_callback), optional | callback,
|  | type(c_ptr), value | callback_params,
|  | integer(fgsl_int), intent(inout) | info,
|  | type(fgsl_multifit_nlinear_workspace), intent(in) | w
| ) |  |

## ◆ fgsl_multifit_nlinear_fdf_free()

subroutine fgsl_multifit_nlinear_fdf_free | ( | type(fgsl_multifit_nlinear_fdf), intent(inout) | fun | ) |

## ◆ fgsl_multifit_nlinear_fdf_get()

subroutine fgsl_multifit_nlinear_fdf_get | ( | type(fgsl_multifit_nlinear_fdf), intent(in) | fdf,
|  | procedure(fgsl_nlinear_fdf_func), optional, pointer | func,
|  | procedure(fgsl_nlinear_fdf_dfunc), optional, pointer | dfunc,
|  | procedure(fgsl_nlinear_fdf_fvv), optional, pointer | fvv,
|  | integer(fgsl_size_t), intent(out), optional | n,
|  | integer(fgsl_size_t), intent(out), optional | p,
|  | type(c_ptr), intent(out), optional | params,
|  | integer(fgsl_size_t), intent(out), optional | nevalf,
|  | integer(fgsl_size_t), intent(out), optional | nevaldf,
|  | integer(fgsl_size_t), intent(out), optional | nevalfvv
| ) |  |

## ◆ fgsl_multifit_nlinear_fdf_init()

type(fgsl_multifit_nlinear_fdf) function fgsl_multifit_nlinear_fdf_init | ( | integer(fgsl_size_t), intent(in) | ndim,
|  | integer(fgsl_size_t), intent(in) | p,
|  | type(c_ptr), intent(in) | params,
|  | procedure(fgsl_nlinear_fdf_func), optional | func,
|  | procedure(fgsl_nlinear_fdf_dfunc), optional | dfunc,
|  | procedure(fgsl_nlinear_fdf_fvv), optional | fvv
| ) |  |

## ◆ fgsl_multifit_nlinear_free()

subroutine fgsl_multifit_nlinear_free | ( | type(fgsl_multifit_nlinear_workspace), intent(inout) | w | ) |

## ◆ fgsl_multifit_nlinear_init()

integer(fgsl_int) function fgsl_multifit_nlinear_init | ( | type(fgsl_vector), intent(in) | x,
|  | type(fgsl_multifit_nlinear_fdf), intent(in) | fdf,
|  | type(fgsl_multifit_nlinear_workspace), intent(inout) | w
| ) |  |

## ◆ fgsl_multifit_nlinear_iterate()

integer(fgsl_int) function fgsl_multifit_nlinear_iterate | ( | type(fgsl_multifit_nlinear_workspace), intent(inout) | w | ) |

## ◆ fgsl_multifit_nlinear_jac()

type(fgsl_matrix) function fgsl_multifit_nlinear_jac | ( | type(fgsl_multifit_nlinear_workspace), intent(in) | w | ) |

## ◆ fgsl_multifit_nlinear_name()

character(kind=fgsl_char,len=fgsl_strmax) function fgsl_multifit_nlinear_name | ( | type(fgsl_multifit_nlinear_workspace), intent(in) | w | ) |

## ◆ fgsl_multifit_nlinear_niter()

integer(fgsl_size_t) function fgsl_multifit_nlinear_niter | ( | type(fgsl_multifit_nlinear_workspace), intent(in) | w | ) |

## ◆ fgsl_multifit_nlinear_parameters_set()

subroutine fgsl_multifit_nlinear_parameters_set | ( | type(fgsl_multifit_nlinear_parameters) | params,
|  | type(fgsl_multifit_nlinear_trs), optional | trs,
|  | type(fgsl_multifit_nlinear_scale), optional | scale,
|  | type(fgsl_multifit_nlinear_solver), optional | solver,
|  | integer(fgsl_int), optional | fdtype,
|  | real(c_double), optional | factor_up,
|  | real(c_double), optional | factor_down,
|  | real(c_double), optional | avmax,
|  | real(c_double), optional | h_df,
|  | real(c_double), optional | h_fvv
| ) |  |

## ◆ fgsl_multifit_nlinear_position()

type(fgsl_vector) function fgsl_multifit_nlinear_position | ( | type(fgsl_multifit_nlinear_workspace), intent(in) | w | ) |

## ◆ fgsl_multifit_nlinear_rcond()

integer(fgsl_int) function fgsl_multifit_nlinear_rcond | ( | real(fgsl_double), intent(inout) | rcond,
|  | type(fgsl_multifit_nlinear_workspace), intent(in) | w
| ) |  |

## ◆ fgsl_multifit_nlinear_residual()

type(fgsl_vector) function fgsl_multifit_nlinear_residual | ( | type(fgsl_multifit_nlinear_workspace), intent(in) | w | ) |

## ◆ fgsl_multifit_nlinear_setup()

type(fgsl_multifit_nlinear_type) function fgsl_multifit_nlinear_setup | ( | character(kind=fgsl_char, len=*) | s | ) |

## ◆ fgsl_multifit_nlinear_status()

logical function fgsl_multifit_nlinear_status | ( | type(fgsl_multifit_nlinear_workspace), intent(in) | s | ) |

## ◆ fgsl_multifit_nlinear_test()

integer(fgsl_int) function fgsl_multifit_nlinear_test | ( | real(fgsl_double), intent(in) | xtol,
|  | real(fgsl_double), intent(in) | gtol,
|  | real(fgsl_double), intent(in) | ftol,
|  | integer(fgsl_int), intent(inout) | info,
|  | type(fgsl_multifit_nlinear_workspace), intent(in) | w
| ) |  |

## ◆ fgsl_multifit_nlinear_trs_name()

character(kind=fgsl_char,len=fgsl_strmax) function fgsl_multifit_nlinear_trs_name | ( | type(fgsl_multifit_nlinear_workspace), intent(in) | w | ) |

## ◆ fgsl_multifit_nlinear_winit()

integer(fgsl_int) function fgsl_multifit_nlinear_winit | ( | type(fgsl_vector), intent(in) | x,
|  | type(fgsl_vector), intent(in) | wts,
|  | type(fgsl_multifit_nlinear_fdf), intent(in) | fdf,
|  | type(fgsl_multifit_nlinear_workspace), intent(inout) | w
| ) |  |

## ◆ fgsl_multilarge_nlinear_alloc()

type(fgsl_multilarge_nlinear_workspace) function fgsl_multilarge_nlinear_alloc | ( | type(fgsl_multilarge_nlinear_type), intent(in) | t,
|  | type(fgsl_multilarge_nlinear_parameters), intent(in) | params,
|  | integer(fgsl_size_t), intent(in) | n,
|  | integer(fgsl_size_t), intent(in) | p
| ) |  |

## ◆ fgsl_multilarge_nlinear_covar()

integer(fgsl_int) function fgsl_multilarge_nlinear_covar | ( | type(fgsl_matrix), intent(inout) | covar,
|  | type(fgsl_multilarge_nlinear_workspace), intent(in) | w
| ) |  |

## ◆ fgsl_multilarge_nlinear_default_parameters()

type(fgsl_multilarge_nlinear_parameters) function fgsl_multilarge_nlinear_default_parameters

## ◆ fgsl_multilarge_nlinear_driver()

integer(fgsl_int) function fgsl_multilarge_nlinear_driver | ( | integer(fgsl_size_t), intent(in) | maxiter,
|  | real(fgsl_double), intent(in) | xtol,
|  | real(fgsl_double), intent(in) | gtol,
|  | real(fgsl_double), intent(in) | ftol,
|  | procedure(fgsl_nlinear_callback), optional | callback,
|  | type(c_ptr), value | callback_params,
|  | integer(fgsl_int), intent(inout) | info,
|  | type(fgsl_multilarge_nlinear_workspace), intent(in) | w
| ) |  |

## ◆ fgsl_multilarge_nlinear_fdf_free()

subroutine fgsl_multilarge_nlinear_fdf_free | ( | type(fgsl_multilarge_nlinear_fdf), intent(inout) | fun | ) |

## ◆ fgsl_multilarge_nlinear_fdf_get()

subroutine fgsl_multilarge_nlinear_fdf_get | ( | type(fgsl_multilarge_nlinear_fdf), intent(in) | fdf,
|  | procedure(fgsl_nlinear_fdf_func), optional, pointer | func,
|  | procedure(fgsl_nlinear_fdf_dlfunc), optional, pointer | dfunc,
|  | procedure(fgsl_nlinear_fdf_fvv), optional, pointer | fvv,
|  | integer(fgsl_size_t), intent(out), optional | n,
|  | integer(fgsl_size_t), intent(out), optional | p,
|  | type(c_ptr), intent(out), optional | params,
|  | integer(fgsl_size_t), intent(out), optional | nevalf,
|  | integer(fgsl_size_t), intent(out), optional | nevaldfu,
|  | integer(fgsl_size_t), intent(out), optional | nevaldf2,
|  | integer(fgsl_size_t), intent(out), optional | nevalfvv
| ) |  |

## ◆ fgsl_multilarge_nlinear_fdf_init()

type(fgsl_multilarge_nlinear_fdf) function fgsl_multilarge_nlinear_fdf_init | ( | integer(fgsl_size_t), intent(in) | ndim,
|  | integer(fgsl_size_t), intent(in) | p,
|  | type(c_ptr), intent(in) | params,
|  | procedure(fgsl_nlinear_fdf_func), optional | func,
|  | procedure(fgsl_nlinear_fdf_dlfunc), optional | dfunc,
|  | procedure(fgsl_nlinear_fdf_fvv), optional | fvv
| ) |  |

## ◆ fgsl_multilarge_nlinear_free()

subroutine fgsl_multilarge_nlinear_free | ( | type(fgsl_multilarge_nlinear_workspace), intent(inout) | w | ) |

## ◆ fgsl_multilarge_nlinear_init()

integer(fgsl_int) function fgsl_multilarge_nlinear_init | ( | type(fgsl_vector), intent(in) | x,
|  | type(fgsl_multilarge_nlinear_fdf), intent(in) | fdf,
|  | type(fgsl_multilarge_nlinear_workspace), intent(inout) | w
| ) |  |

## ◆ fgsl_multilarge_nlinear_iterate()

integer(fgsl_int) function fgsl_multilarge_nlinear_iterate | ( | type(fgsl_multilarge_nlinear_workspace), intent(inout) | w | ) |

## ◆ fgsl_multilarge_nlinear_name()

character(kind=fgsl_char,len=fgsl_strmax) function fgsl_multilarge_nlinear_name | ( | type(fgsl_multilarge_nlinear_workspace), intent(in) | w | ) |

## ◆ fgsl_multilarge_nlinear_niter()

integer(fgsl_size_t) function fgsl_multilarge_nlinear_niter | ( | type(fgsl_multilarge_nlinear_workspace), intent(in) | w | ) |

## ◆ fgsl_multilarge_nlinear_parameters_set()

subroutine fgsl_multilarge_nlinear_parameters_set | ( | type(fgsl_multilarge_nlinear_parameters) | params,
|  | type(fgsl_multilarge_nlinear_trs), optional | trs,
|  | type(fgsl_multilarge_nlinear_scale), optional | scale,
|  | type(fgsl_multilarge_nlinear_solver), optional | solver,
|  | integer(fgsl_int), optional | fdtype,
|  | real(c_double), optional | factor_up,
|  | real(c_double), optional | factor_down,
|  | real(c_double), optional | avmax,
|  | real(c_double), optional | h_df,
|  | real(c_double), optional | h_fvv,
|  | integer(fgsl_size_t), optional | max_iter,
|  | real(c_double), optional | tol
| ) |  |

## ◆ fgsl_multilarge_nlinear_position()

type(fgsl_vector) function fgsl_multilarge_nlinear_position | ( | type(fgsl_multilarge_nlinear_workspace), intent(in) | w | ) |

## ◆ fgsl_multilarge_nlinear_rcond()

integer(fgsl_int) function fgsl_multilarge_nlinear_rcond | ( | real(fgsl_double), intent(inout) | rcond,
|  | type(fgsl_multilarge_nlinear_workspace), intent(in) | w
| ) |  |

## ◆ fgsl_multilarge_nlinear_residual()

type(fgsl_vector) function fgsl_multilarge_nlinear_residual | ( | type(fgsl_multilarge_nlinear_workspace), intent(in) | w | ) |

## ◆ fgsl_multilarge_nlinear_setup()

type(fgsl_multilarge_nlinear_type) function fgsl_multilarge_nlinear_setup | ( | character(kind=fgsl_char, len=*) | s | ) |

## ◆ fgsl_multilarge_nlinear_test()

integer(fgsl_int) function fgsl_multilarge_nlinear_test | ( | real(fgsl_double), intent(in) | xtol,
|  | real(fgsl_double), intent(in) | gtol,
|  | real(fgsl_double), intent(in) | ftol,
|  | integer(fgsl_int), intent(inout) | info,
|  | type(fgsl_multilarge_nlinear_workspace), intent(in) | w
| ) |  |

## ◆ fgsl_multilarge_nlinear_trs_name()

character(kind=fgsl_char,len=fgsl_strmax) function fgsl_multilarge_nlinear_trs_name | ( | type(fgsl_multilarge_nlinear_workspace), intent(in) | w | ) |

## ◆ fgsl_multilarge_nlinear_winit()

integer(fgsl_int) function fgsl_multilarge_nlinear_winit | ( | type(fgsl_vector), intent(in) | x,
|  | type(fgsl_vector), intent(in) | wts,
|  | type(fgsl_multilarge_nlinear_fdf), intent(in) | fdf,
|  | type(fgsl_multilarge_nlinear_workspace), intent(inout) | w
| ) |  |