regression_function Interface

interface
public subroutine regression_function(xdata, params, f, stop)

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in), dimension(:) :: xdata

An N-element array containing the N independent data points.

real(kind=real64), intent(in), dimension(:) :: params

An M-element array containing the M model parameters.

real(kind=real64), intent(out), dimension(:) :: f

An N-element array where the results of the N function evaluations will be written.

logical, intent(out) :: stop

A mechanism to force a stop to the iteration process. If set to true, the iteration process will terminate. If set to false, the iteration process will continue along as normal.

Description

Defines the interface of a subroutine computing the function values at each of the N data points as part of a regression analysis.