Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

error in the IMSL NNLPG routine

kghayour
Principiante
722 Vistas
Just wanted to let you know that the ordering of optional parameters for this routine (NNPLG)in the IMSL manual is wrong. After spending much time, it turns out that the correct order is as follows:

1) N
2) XGUESS
3) IPRINT
4) MAXITN
....
0 kudos
1 Responder
Steven_L_Intel1
Empleados
722 Vistas
DEL0 and TAU0 are also in reversed order. The argument list is:

(s_fcn, s_grad, m, me, ibtype, xlb, xub, x,&
n, xguess, iprint, maxitn, del0, tau0,&
smallw, delmin, scfmax, fvalue)

Using keyword names for optional arguments would avoid problems here, or you can read the declaration in numerical_libraries_f90.f90 in the IMSL include folder.

I will pass on your report to Rogue Wave.
Responder