fcn_t Interface

interface
public subroutine fcn_t(beta, xplusd, ifixb, ifixx, ideval, f, fjacb, fjacd, istop)

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: beta(:)

Current values of parameters.

real(kind=wp), intent(in) :: xplusd(:,:)

Current value of explanatory variable, i.e., x + delta. Shape: (n, m).

integer, intent(in) :: ifixb(:)

Indicators for "fixing" parameters (beta).

integer, intent(in) :: ifixx(:,:)

Indicators for "fixing" explanatory variable (x). Shape: (ldifx, m).

integer, intent(in) :: ideval

Indicator for selecting computation to be performed.

real(kind=wp), intent(out) :: f(:,:)

Predicted function values. Shape: (n, q).

real(kind=wp), intent(out) :: fjacb(:,:,:)

Jacobian with respect to beta. Shape: (n, np, q).

real(kind=wp), intent(out) :: fjacd(:,:,:)

Jacobian with respect to errors delta. Shape: (n, m, q).

integer, intent(out) :: istop

Stopping condition, with meaning as follows. 0: Current beta and x + delta were acceptable and values were computed successfully. 1: Current beta and x + delta are not acceptable; 'odrpack' should select values closer to most recently used values if possible. -1: Current beta and x + delta are not acceptable; 'odrpack' should stop.

Description

User-supplied subroutine for evaluating the model.