|
|
@ -122,9 +122,9 @@ C f2py mvn.pyf mvndst.f -c --fcompiler=gnu95 --compiler=mingw32 -lmsvcr71
|
|
|
|
* if INFORM = 2, N > 500 or N < 1.
|
|
|
|
* if INFORM = 2, N > 500 or N < 1.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
EXTERNAL MVNDFN
|
|
|
|
EXTERNAL MVNDFN
|
|
|
|
INTEGER N, INFIN(*), MAXPTS, INFORM, INFIS, IVLS
|
|
|
|
INTEGER N, INFIN(*), MAXPTS, INFORM, INFIS, IVLS, MVNDNT
|
|
|
|
DOUBLE PRECISION CORREL(*), LOWER(*), UPPER(*), RELEPS, ABSEPS,
|
|
|
|
DOUBLE PRECISION CORREL(*), LOWER(*), UPPER(*), RELEPS, ABSEPS,
|
|
|
|
& ERROR, VALUE, E, D, MVNDNT, MVNDFN
|
|
|
|
& ERROR, VALUE, E, D, MVNDFN
|
|
|
|
COMMON /DKBLCK/IVLS
|
|
|
|
COMMON /DKBLCK/IVLS
|
|
|
|
IF ( N .GT. 500 .OR. N .LT. 1 ) THEN
|
|
|
|
IF ( N .GT. 500 .OR. N .LT. 1 ) THEN
|
|
|
|
INFORM = 2
|
|
|
|
INFORM = 2
|
|
|
@ -716,7 +716,7 @@ C f2py mvn.pyf mvndst.f -c --fcompiler=gnu95 --compiler=mingw32 -lmsvcr71
|
|
|
|
SUMKRO = 0
|
|
|
|
SUMKRO = 0
|
|
|
|
NK = MIN( NDIM, KLIM )
|
|
|
|
NK = MIN( NDIM, KLIM )
|
|
|
|
DO J = 1, NK - 1
|
|
|
|
DO J = 1, NK - 1
|
|
|
|
JP = J + MVNUNI()*( NK + 1 - J )
|
|
|
|
JP = J + INT(MVNUNI()*( NK + 1 - J ))
|
|
|
|
XT = VK(J)
|
|
|
|
XT = VK(J)
|
|
|
|
VK(J) = VK(JP)
|
|
|
|
VK(J) = VK(JP)
|
|
|
|
VK(JP) = XT
|
|
|
|
VK(JP) = XT
|
|
|
|