0.6.2-dev0
FORCES
FORtran lib for Comp. Env. Sys.
Loading...
Searching...
No Matches
mo_linfit.f90 File Reference

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)
 

Detailed Description

Fitting a straight line.

This module provides a routine to fit a straight line with model I or model II regression.

Authors
Matthias Cuntz
Date
Mar 2011

Definition in file mo_linfit.f90.