Reporting routines.
Generate initial summary report.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | ipr |
The value indicating the report to be printed. |
||
integer, | intent(in) | :: | lunrpt |
The logical unit number for the computation reports. |
||
logical, | intent(in) | :: | anajac |
The variable designating whether the Jacobians are computed by finite differences
( |
||
logical, | intent(in) | :: | cdjac |
The variable designating whether the Jacobians are computed by central differences
( |
||
logical, | intent(in) | :: | chkjac |
The variable designating whether the user-supplied Jacobians are to be checked
( |
||
logical, | intent(in) | :: | initd |
The variable designating whether |
||
logical, | intent(in) | :: | restrt |
The variable designating whether the call is a restart ( |
||
logical, | intent(in) | :: | isodr |
The variable designating whether the solution is by ODR ( |
||
logical, | intent(in) | :: | implct |
The variable designating whether the solution is by implicit ODR ( |
||
logical, | intent(in) | :: | dovcv |
The variable designating whether the covariance matrix is to be computed
( |
||
logical, | intent(in) | :: | redoj |
The variable designating whether the Jacobian matrix is to be recomputed for the
computation of the covariance matrix ( |
||
integer, | intent(in) | :: | msgb1 |
The error checking results for the Jacobian with respect to |
||
integer, | intent(in) | :: | msgb(nq,np) |
The error checking results for the Jacobian with respect to |
||
integer, | intent(in) | :: | msgd1 |
The error checking results for the Jacobian with respect to |
||
integer, | intent(in) | :: | msgd(nq,m) |
The error checking results for the Jacobian with respect to |
||
integer, | intent(in) | :: | n |
The number of observations. |
||
integer, | intent(in) | :: | m |
The number of columns of data in the explanatory variable. |
||
integer, | intent(in) | :: | np |
The number of function parameters. |
||
integer, | intent(in) | :: | nq |
The number of responses per observation. |
||
integer, | intent(in) | :: | npp |
The number of function parameters being estimated. |
||
integer, | intent(in) | :: | nnzw |
The number of nonzero observational error weights. |
||
real(kind=wp), | intent(in) | :: | x(ldx,m) |
The explanatory variable. |
||
integer, | intent(in) | :: | ldx |
The leading dimension of array |
||
integer, | intent(in) | :: | ifixx(ldifx,m) |
The values designating whether the elements of |
||
integer, | intent(in) | :: | ldifx |
The leading dimension of array |
||
real(kind=wp), | intent(in) | :: | delta(n,m) |
The estimated errors in the explanatory variables. |
||
real(kind=wp), | intent(in) | :: | wd(ldwd,ld2wd,m) |
The |
||
integer, | intent(in) | :: | ldwd |
The leading dimension of array |
||
integer, | intent(in) | :: | ld2wd |
The second dimension of array |
||
real(kind=wp), | intent(in) | :: | tt(ldtt,m) |
The scaling values for |
||
integer, | intent(in) | :: | ldtt |
The leading dimension of array |
||
real(kind=wp), | intent(in) | :: | stpd(ldstpd,m) |
The relative step used for computing finite difference derivatives with respect to |
||
integer, | intent(in) | :: | ldstpd |
The leading dimension of array |
||
real(kind=wp), | intent(in) | :: | y(ldy,nq) |
The response variable. Unused when the model is implicit. |
||
integer, | intent(in) | :: | ldy |
The leading dimension of array |
||
real(kind=wp), | intent(in) | :: | we(ldwe,ld2we,nq) |
The |
||
integer, | intent(in) | :: | ldwe |
The leading dimension of array |
||
integer, | intent(in) | :: | ld2we |
The second dimension of array |
||
real(kind=wp), | intent(in) | :: | pnlty |
The penalty parameter for an implicit model. |
||
real(kind=wp), | intent(in) | :: | beta(np) |
The function parameters. |
||
integer, | intent(in) | :: | ifixb(np) |
The values designating whether the elements of |
||
real(kind=wp), | intent(in) | :: | ssf(np) |
The scaling values for |
||
real(kind=wp), | intent(in) | :: | stpb(np) |
The relative step used for computing finite difference derivatives with respect to |
||
real(kind=wp), | intent(in) | :: | lower(np) |
The lower bounds for |
||
real(kind=wp), | intent(in) | :: | upper(np) |
The upper bounds for |
||
integer, | intent(in) | :: | job |
The variable controlling problem initialization and computational method. |
||
integer, | intent(in) | :: | neta |
The number of accurate digits in the function results. A negative value indicates
that |
||
real(kind=wp), | intent(in) | :: | taufac |
The factor used to compute the initial trust region diameter. |
||
real(kind=wp), | intent(in) | :: | sstol |
The sum-of-squares convergence stopping tolerance. |
||
real(kind=wp), | intent(in) | :: | partol |
The parameter convergence stopping tolerance. |
||
integer, | intent(in) | :: | maxit |
The maximum number of iterations allowed. |
||
real(kind=wp), | intent(in) | :: | wss |
The sum-of-squares of the weighted |
||
real(kind=wp), | intent(in) | :: | wssdel |
The sum-of-squares of the weighted |
||
real(kind=wp), | intent(in) | :: | wsseps |
The sum-of-squares of the weighted |
Generate iteration reports.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | ipr |
The value indicating the report to be printed. |
||
integer, | intent(in) | :: | lunrpt |
The logical unit number used for computation reports. |
||
logical, | intent(in) | :: | fstitr |
The variable designating whether this is the first iteration ( |
||
logical, | intent(in) | :: | implct |
The variable designating whether the solution is by implicit ODR ( |
||
logical, | intent(in) | :: | prtpen |
The variable designating whether the penalty parameter is to be printed in the
iteration report ( |
||
real(kind=wp), | intent(in) | :: | pnlty |
The penalty parameter for an implicit model. |
||
integer, | intent(in) | :: | niter |
The number of iterations. |
||
integer, | intent(in) | :: | nfev |
The number of function evaluations. |
||
real(kind=wp), | intent(in) | :: | wss |
The sum-of-squares of the weighted |
||
real(kind=wp), | intent(in) | :: | actred |
The actual relative reduction in the sum-of-squares. |
||
real(kind=wp), | intent(in) | :: | prered |
The predicted relative reduction in the sum-of-squares. |
||
real(kind=wp), | intent(in) | :: | alpha |
The Levenberg-Marquardt parameter. |
||
real(kind=wp), | intent(in) | :: | tau |
The trust region diameter. |
||
real(kind=wp), | intent(in) | :: | pnorm |
The norm of the scaled estimated parameters. |
||
integer, | intent(in) | :: | np |
The number of function parameters. |
||
real(kind=wp), | intent(in) | :: | beta(np) |
The function parameters. |
Generate final summary report.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | ipr |
The variable indicating what is to be printed. |
||
integer, | intent(in) | :: | lunrpt |
The logical unit number used for computation reports. |
||
logical, | intent(in) | :: | isodr |
The variable designating whether the solution is by ODR ( |
||
logical, | intent(in) | :: | implct |
The variable designating whether the solution is by implicit ODR ( |
||
logical, | intent(in) | :: | didvcv |
The variable designating whether the covariance matrix was computed ( |
||
logical, | intent(in) | :: | dovcv |
The variable designating whether the covariance matrix was to be computed
( |
||
logical, | intent(in) | :: | redoj |
The variable designating whether the Jacobian matrix is to be recomputed for the
computation of the covariance matrix ( |
||
logical, | intent(in) | :: | anajac |
The variable designating whether the Jacobians are computed by finite differences
( |
||
integer, | intent(in) | :: | n |
The number of observations. |
||
integer, | intent(in) | :: | m |
The number of columns of data in the explanatory variable. |
||
integer, | intent(in) | :: | np |
The number of function parameters. |
||
integer, | intent(in) | :: | nq |
The number of responses per observation. |
||
integer, | intent(in) | :: | npp |
The number of function parameters being estimated. |
||
integer, | intent(in) | :: | info |
The variable designating why the computations were stopped. |
||
integer, | intent(in) | :: | niter |
The number of iterations. |
||
integer, | intent(in) | :: | nfev |
The number of function evaluations. |
||
integer, | intent(in) | :: | njev |
The number of Jacobian evaluations. |
||
integer, | intent(in) | :: | irank |
The rank deficiency of the Jacobian with respect to |
||
real(kind=wp), | intent(in) | :: | rcond |
The approximate reciprocal condition of |
||
integer, | intent(in) | :: | istop |
The variable designating whether there are problems computing the function at the
current |
||
real(kind=wp), | intent(in) | :: | wss |
The sum-of-squares of the weighted |
||
real(kind=wp), | intent(in) | :: | wssdel |
The sum-of-squares of the weighted |
||
real(kind=wp), | intent(in) | :: | wsseps |
The sum-of-squares of the weighted |
||
real(kind=wp), | intent(in) | :: | pnlty |
The penalty parameter for an implicit model. |
||
real(kind=wp), | intent(in) | :: | rvar |
The residual variance. |
||
integer, | intent(in) | :: | idf |
The degrees of freedom of the fit, equal to the number of observations with nonzero weighted derivatives minus the number of parameters being estimated. |
||
real(kind=wp), | intent(in) | :: | beta(np) |
The function parameters. |
||
real(kind=wp), | intent(in) | :: | sdbeta(np) |
The standard errors of the estimated parameters. |
||
integer, | intent(in) | :: | ifixb2(np) |
The values designating whether the elements of |
||
real(kind=wp), | intent(in) | :: | f(n,nq) |
The estimated values of |
||
real(kind=wp), | intent(in) | :: | delta(n,m) |
The estimated errors in the explanatory variables. |
||
real(kind=wp), | intent(in) | :: | lower(np) |
Lower bound on |
||
real(kind=wp), | intent(in) | :: | upper(np) |
Upper bound on |
Generate computation reports.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | ipr |
The variable indicating what is to be printed. |
||
integer, | intent(in) | :: | lunrpt |
The logical unit number used for computation reports. |
||
logical, | intent(inout) | :: | head |
The variable designating whether the heading is to be printed ( |
||
logical, | intent(in) | :: | prtpen |
The variable designating whether the penalty parameter is to be printed in the
iteration report ( |
||
logical, | intent(in) | :: | fstitr |
The variable designating whether this is the first iteration ( |
||
logical, | intent(in) | :: | didvcv |
The variable designating whether the covariance matrix was computed
( |
||
integer, | intent(in) | :: | iflag |
The variable designating what is to be printed. |
||
integer, | intent(in) | :: | n |
The number of observations. |
||
integer, | intent(in) | :: | m |
The number of columns of data in the explanatory variable. |
||
integer, | intent(in) | :: | np |
The number of function parameters. |
||
integer, | intent(in) | :: | nq |
The number of responses per observation. |
||
integer, | intent(in) | :: | npp |
The number of function parameters being estimated. |
||
integer, | intent(in) | :: | nnzw |
The number of nonzero weighted observations. |
||
integer, | intent(in) | :: | msgb(nq*np+1) |
The error checking results for the Jacobian with respect to |
||
integer, | intent(in) | :: | msgd(nq*m+1) |
The error checking results for the Jacobian with respect to |
||
real(kind=wp), | intent(in) | :: | beta(np) |
The function parameters. |
||
real(kind=wp), | intent(in) | :: | y(ldy,nq) |
The response variable. Unused when the model is implicit. |
||
integer, | intent(in) | :: | ldy |
The leading dimension of array |
||
real(kind=wp), | intent(in) | :: | x(ldx,m) |
The explanatory variable. |
||
integer, | intent(in) | :: | ldx |
The leading dimension of array |
||
real(kind=wp), | intent(in) | :: | delta(n,m) |
The estimated errors in the explanatory variables. |
||
real(kind=wp), | intent(in) | :: | we(ldwe,ld2we,nq) |
The |
||
integer, | intent(in) | :: | ldwe |
The leading dimension of array |
||
integer, | intent(in) | :: | ld2we |
The second dimension of array |
||
real(kind=wp), | intent(in) | :: | wd(ldwd,ld2wd,m) |
The |
||
integer, | intent(in) | :: | ldwd |
The leading dimension of array |
||
integer, | intent(in) | :: | ld2wd |
The second dimension of array |
||
integer, | intent(in) | :: | ifixb(np) |
The values designating whether the elements of |
||
integer, | intent(in) | :: | ifixx(ldifx,m) |
The values designating whether the elements of |
||
integer, | intent(in) | :: | ldifx |
The leading dimension of array |
||
real(kind=wp), | intent(in) | :: | lower(np) |
The lower bounds for |
||
real(kind=wp), | intent(in) | :: | upper(np) |
The upper bounds for |
||
real(kind=wp), | intent(in) | :: | ssf(np) |
The scaling values for |
||
real(kind=wp), | intent(in) | :: | tt(ldtt,m) |
The scaling values for |
||
integer, | intent(in) | :: | ldtt |
The leading dimension of array |
||
real(kind=wp), | intent(in) | :: | stpb(np) |
The relative step used for computing finite difference derivatives with respect
to |
||
real(kind=wp), | intent(in) | :: | stpd(ldstpd,m) |
The relative step used for computing finite difference derivatives with respect
to |
||
integer, | intent(in) | :: | ldstpd |
The leading dimension of array |
||
integer, | intent(in) | :: | job |
The variable controlling problem initialization and computational method. |
||
integer, | intent(in) | :: | neta |
The number of accurate digits in the function results. |
||
real(kind=wp), | intent(in) | :: | taufac |
The factor used to compute the initial trust region diameter. |
||
real(kind=wp), | intent(in) | :: | sstol |
The sum-of-squares convergence stopping tolerance. |
||
real(kind=wp), | intent(in) | :: | partol |
The parameter convergence stopping tolerance. |
||
integer, | intent(in) | :: | maxit |
The maximum number of iterations allowed. |
||
real(kind=wp), | intent(in) | :: | wss(3) |
The sum-of-squares of the weighted |
||
real(kind=wp), | intent(in) | :: | rvar |
The residual variance. |
||
integer, | intent(in) | :: | idf |
The degrees of freedom of the fit, equal to the number of observations with nonzero weighted derivatives minus the number of parameters being estimated. |
||
real(kind=wp), | intent(in) | :: | sdbeta(np) |
The standard errors of the estimated parameters. |
||
integer, | intent(in) | :: | niter |
The number of iterations. |
||
integer, | intent(in) | :: | nfev |
The number of function evaluations. |
||
integer, | intent(in) | :: | njev |
The number of Jacobian evaluations. |
||
real(kind=wp), | intent(in) | :: | actred |
The actual relative reduction in the sum-of-squares. |
||
real(kind=wp), | intent(in) | :: | prered |
The predicted relative reduction in the sum-of-squares. |
||
real(kind=wp), | intent(in) | :: | tau |
The trust region diameter. |
||
real(kind=wp), | intent(in) | :: | pnorm |
The norm of the scaled estimated parameters. |
||
real(kind=wp), | intent(in) | :: | alpha |
The Levenberg-Marquardt parameter. |
||
real(kind=wp), | intent(in) | :: | f(n,nq) |
The estimated values of |
||
real(kind=wp), | intent(in) | :: | rcond |
The approximate reciprocal condition of |
||
integer, | intent(in) | :: | irank |
The rank deficiency of the Jacobian with respect to |
||
integer, | intent(in) | :: | info |
The variable designating why the computations were stopped. |
||
integer, | intent(in) | :: | istop |
The variable designating whether there are problems computing the function at the
current |
Print error reports.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | lunerr |
The logical unit number used for error messages. |
||
integer, | intent(inout) | :: | info |
The variable designating why the computations were stopped. |
||
integer, | intent(in) | :: | d1 |
The 1st digit (from the left) of |
||
integer, | intent(in) | :: | d2 |
The 2nd digit (from the left) of |
||
integer, | intent(in) | :: | d3 |
The 3rd digit (from the left) of |
||
integer, | intent(in) | :: | d4 |
The 4th digit (from the left) of |
||
integer, | intent(in) | :: | d5 |
The 5th digit (from the left) of |
||
integer, | intent(in) | :: | n |
The number of observations. |
||
integer, | intent(in) | :: | m |
The number of columns of data in the explanatory variable. |
||
integer, | intent(in) | :: | nq |
The number of responses per observation. |
||
integer, | intent(in) | :: | ldscld |
The leading dimension of array |
||
integer, | intent(in) | :: | ldstpd |
The leading dimension of array |
||
integer, | intent(in) | :: | ldwe |
The leading dimension of array |
||
integer, | intent(in) | :: | ld2we |
The second dimension of array |
||
integer, | intent(in) | :: | ldwd |
The leading dimension of array |
||
integer, | intent(in) | :: | ld2wd |
The second dimension of array |
||
integer, | intent(in) | :: | lwkmn |
The minimum acceptable length of array |
||
integer, | intent(in) | :: | liwkmn |
The minimum acceptable length of array |
Generate the derivative checking report.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | lunerr |
The logical unit number used for error messages. |
||
integer, | intent(in) | :: | n |
The number of observations. |
||
integer, | intent(in) | :: | m |
The number of columns of data in the explanatory variable. |
||
integer, | intent(in) | :: | np |
The number of function parameters. |
||
integer, | intent(in) | :: | nq |
The number of responses per observation. |
||
real(kind=wp), | intent(in) | :: | fjacb(n,np,nq) |
The Jacobian with respect to |
||
real(kind=wp), | intent(in) | :: | fjacd(n,m,nq) |
The Jacobian with respect to |
||
real(kind=wp), | intent(in) | :: | diff(nq,np+m) |
The relative differences between the user-supplied and finite difference derivatives for each derivative checked. |
||
integer, | intent(in) | :: | msgb1 |
The error checking results for the Jacobian with respect to |
||
integer, | intent(in) | :: | msgb(nq,np) |
The error checking results for the Jacobian with respect to |
||
logical, | intent(in) | :: | isodr |
The variable designating whether the solution is by ODR ( |
||
integer, | intent(in) | :: | msgd1 |
The error checking results for the Jacobian with respect to |
||
integer, | intent(in) | :: | msgd(nq,m) |
The error checking results for the Jacobian with respect to |
||
real(kind=wp), | intent(in) | :: | xplusd(n,m) |
The values of |
||
integer, | intent(in) | :: | nrow |
The row number of the explanatory variable array at which the derivative is to be checked. |
||
integer, | intent(in) | :: | neta |
The number of reliable digits in the model. |
||
integer, | intent(in) | :: | ntol |
The number of digits of agreement required between the finite difference and the user-supplied derivatives. |
Print error reports indicating that computations were stopped in user-supplied
subroutine fcn
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer | :: | lunerr |
The logical unit number used for error messages. |
|||
integer | :: | d2 |
The 2nd digit (from the left) of |
|||
integer | :: | d3 |
The 3rd digit (from the left) of |
Controlling routine for printing error reports.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(inout) | :: | info |
The variable designating why the computations were stopped. |
||
integer, | intent(in) | :: | lunerr |
The logical unit number used for error messages. |
||
integer, | intent(in) | :: | n |
The number of observations. |
||
integer, | intent(in) | :: | m |
The number of columns of data in the explanatory variable. |
||
integer, | intent(in) | :: | np |
The number of function parameters. |
||
integer, | intent(in) | :: | nq |
The number of responses per observation. |
||
integer, | intent(in) | :: | ldscld |
The leading dimension of array |
||
integer, | intent(in) | :: | ldstpd |
The leading dimension of array |
||
integer, | intent(in) | :: | ldwe |
The leading dimension of array |
||
integer, | intent(in) | :: | ld2we |
The second dimension of array |
||
integer, | intent(in) | :: | ldwd |
The leading dimension of array |
||
integer, | intent(in) | :: | ld2wd |
The second dimension of array |
||
integer, | intent(in) | :: | lwkmn |
The minimum acceptable length of array |
||
integer, | intent(in) | :: | liwkmn |
The minimum acceptable length of array |
||
real(kind=wp), | intent(in) | :: | fjacb(n,np,nq) |
The Jacobian with respect to |
||
real(kind=wp), | intent(in) | :: | fjacd(n,m,nq) |
The Jacobian with respect to |
||
real(kind=wp), | intent(in) | :: | diff(nq,np+m) |
The relative differences between the user-supplied and finite difference derivatives for each derivative checked. |
||
integer, | intent(in) | :: | msgb(nq*np+1) |
The error checking results for the Jacobian with respect to |
||
logical, | intent(in) | :: | isodr |
The variable designating whether the solution is by ODR ( |
||
integer, | intent(in) | :: | msgd(nq*m+1) |
The error checking results for the Jacobian with respect to |
||
real(kind=wp), | intent(in) | :: | xplusd(n,m) |
The values |
||
integer, | intent(in) | :: | nrow |
The row number of the explanatory variable array at which the derivative is to be checked. |
||
integer, | intent(in) | :: | neta |
The number of reliable digits in the model. |
||
integer, | intent(in) | :: | ntol |
The number of digits of agreement required between the finite difference and the user-supplied derivatives. |
Print report heading.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(inout) | :: | head |
The variable designating whether the heading is to be printed ( |
||
integer, | intent(in) | :: | lunit |
The logical unit number to which the heading is written. |