FGSL: api/fit.finc File Reference

FGSL Fortran interface for the GNU scientific library

Functions/Subroutines
fit.finc File Reference

## Functions/Subroutines
integer(fgsl_int) function | fgsl_fit_linear (x, xstride, y, ystride, n, c0, c1, cov00, cov01, cov11, sumsq)
integer(fgsl_int) function | fgsl_fit_wlinear (x, xstride, w, wstride, y, ystride, n, c0, c1, cov00, cov01, cov11, chisq)
integer(fgsl_int) function | fgsl_fit_linear_est (x, c0, c1, cov00, cov01, cov11, y, y_err)
integer(fgsl_int) function | fgsl_fit_mul (x, xstride, y, ystride, n, c1, cov11, sumsq)
integer(fgsl_int) function | fgsl_fit_wmul (x, xstride, w, wstride, y, ystride, n, c1, cov11, chisq)
integer(fgsl_int) function | fgsl_fit_mul_est (x, c1, cov11, y, y_err)

## Function/Subroutine Documentation

## ◆ fgsl_fit_linear()

integer(fgsl_int) function fgsl_fit_linear | ( | real(fgsl_double), dimension(:), intent(in), target, contiguous | x,
|  | integer(fgsl_size_t), intent(in) | xstride,
|  | real(fgsl_double), dimension(:), intent(in), target, contiguous | y,
|  | integer(fgsl_size_t), intent(in) | ystride,
|  | integer(fgsl_size_t), intent(in) | n,
|  | real(fgsl_double), intent(out) | c0,
|  | real(fgsl_double), intent(out) | c1,
|  | real(fgsl_double), intent(out) | cov00,
|  | real(fgsl_double), intent(out) | cov01,
|  | real(fgsl_double), intent(out) | cov11,
|  | real(fgsl_double), intent(out) | sumsq
| ) |  |

## ◆ fgsl_fit_linear_est()

integer(fgsl_int) function fgsl_fit_linear_est | ( | real(fgsl_double), intent(in) | x,
|  | real(fgsl_double), intent(in) | c0,
|  | real(fgsl_double), intent(in) | c1,
|  | real(fgsl_double), intent(in) | cov00,
|  | real(fgsl_double), intent(in) | cov01,
|  | real(fgsl_double), intent(in) | cov11,
|  | real(fgsl_double), intent(out) | y,
|  | real(fgsl_double), intent(out) | y_err
| ) |  |

## ◆ fgsl_fit_mul()

integer(fgsl_int) function fgsl_fit_mul | ( | real(fgsl_double), dimension(:), intent(in), target, contiguous | x,
|  | integer(fgsl_size_t), intent(in) | xstride,
|  | real(fgsl_double), dimension(:), intent(in), target, contiguous | y,
|  | integer(fgsl_size_t), intent(in) | ystride,
|  | integer(fgsl_size_t), intent(in) | n,
|  | real(fgsl_double), intent(out) | c1,
|  | real(fgsl_double), intent(out) | cov11,
|  | real(fgsl_double), intent(out) | sumsq
| ) |  |

## ◆ fgsl_fit_mul_est()

integer(fgsl_int) function fgsl_fit_mul_est | ( | real(fgsl_double), intent(in) | x,
|  | real(fgsl_double), intent(in) | c1,
|  | real(fgsl_double), intent(in) | cov11,
|  | real(fgsl_double), intent(out) | y,
|  | real(fgsl_double), intent(out) | y_err
| ) |  |

## ◆ fgsl_fit_wlinear()

integer(fgsl_int) function fgsl_fit_wlinear | ( | real(fgsl_double), dimension(:), intent(in), target, contiguous | x,
|  | integer(fgsl_size_t), intent(in) | xstride,
|  | real(fgsl_double), dimension(:), intent(in), target, contiguous | w,
|  | integer(fgsl_size_t), intent(in) | wstride,
|  | real(fgsl_double), dimension(:), intent(in), target, contiguous | y,
|  | integer(fgsl_size_t), intent(in) | ystride,
|  | integer(fgsl_size_t), intent(in) | n,
|  | real(fgsl_double), intent(out) | c0,
|  | real(fgsl_double), intent(out) | c1,
|  | real(fgsl_double), intent(out) | cov00,
|  | real(fgsl_double), intent(out) | cov01,
|  | real(fgsl_double), intent(out) | cov11,
|  | real(fgsl_double), intent(out) | chisq
| ) |  |

## ◆ fgsl_fit_wmul()

integer(fgsl_int) function fgsl_fit_wmul | ( | real(fgsl_double), dimension(:), intent(in), target, contiguous | x,
|  | integer(fgsl_size_t), intent(in) | xstride,
|  | real(fgsl_double), dimension(:), intent(in), target, contiguous | w,
|  | integer(fgsl_size_t), intent(in) | wstride,
|  | real(fgsl_double), dimension(:), intent(in), target, contiguous | y,
|  | integer(fgsl_size_t), intent(in) | ystride,
|  | integer(fgsl_size_t), intent(in) | n,
|  | real(fgsl_double), intent(out) | c1,
|  | real(fgsl_double), intent(out) | cov11,
|  | real(fgsl_double), intent(out) | chisq
| ) |  |