fcn_tc Interface

interface
public subroutine fcn_tc(n, m, np, nq, ldn, ldm, ldnp, beta, xplusd, ifixb, ifixx, ldifx, ideval, f, fjacb, fjacd, istop) bind(C)

Arguments

Type IntentOptional Attributes Name
integer(kind=c_int), intent(in) :: n

Number of observations.

integer(kind=c_int), intent(in) :: m

Number of columns of data in the independent variable.

integer(kind=c_int), intent(in) :: np

Number of function parameters.

integer(kind=c_int), intent(in) :: nq

Number of responses per observation.

integer(kind=c_int), intent(in) :: ldn

Leading dimension declarator equal or exceeding n.

integer(kind=c_int), intent(in) :: ldm

Leading dimension declarator equal or exceeding m.

integer(kind=c_int), intent(in) :: ldnp

Leading dimension declarator equal or exceeding np.

real(kind=c_double), intent(in) :: beta(np)

Current values of parameters.

real(kind=c_double), intent(in) :: xplusd(ldn,m)

Current value of explanatory variable, i.e., x + delta.

integer(kind=c_int), intent(in) :: ifixb(np)

Indicators for "fixing" parameters (beta).

integer(kind=c_int), intent(in) :: ifixx(ldifx,m)

Indicators for "fixing" explanatory variable (x).

integer(kind=c_int), intent(in) :: ldifx

Leading dimension of array ifixx.

integer(kind=c_int), intent(in) :: ideval

Indicator for selecting computation to be performed.

real(kind=c_double), intent(out) :: f(ldn,nq)

Predicted function values.

real(kind=c_double), intent(out) :: fjacb(ldn,ldnp,nq)

Jacobian with respect to beta.

real(kind=c_double), intent(out) :: fjacd(ldn,ldm,nq)

Jacobian with respect to errors delta.

integer(kind=c_int), intent(out) :: istop

Stopping condition.

Description

User-supplied subroutine for evaluating the model.