FORCES
FORtran lib for Comp. Env. Sys.
|
Fitting a straight line. More...
Go to the source code of this file.
Data Types | |
interface | mo_linfit::linfit |
Fits a straight line to input data by minimizing chi^2. More... | |
Modules | |
module | mo_linfit |
Fitting a straight line. | |
Functions/Subroutines | |
real(dp) function, dimension(:), allocatable | mo_linfit::linfit_dp (x, y, a, b, siga, sigb, chi2, model2) |
real(sp) function, dimension(:), allocatable | mo_linfit::linfit_sp (x, y, a, b, siga, sigb, chi2, model2) |
Fitting a straight line.
This module provides a routine to fit a straight line with model I or model II regression.
COPYING
and COPYING.LESSER
provided with this software. The complete GNU license text can also be found at http://www.gnu.org/licenses/. Definition in file mo_linfit.f90.