DQPSRT(3)

SYNOPSIS
SUBROUTINE DQPSRT (LIMIT, LAST, MAXERR, ERMAX, ELIST, IORD, NRMAX)

NAME
dqpsrt - This routine maintains the descending ordering in the list of the local error estimated resulting from the interval subdivision process. At each call two error estimates are inserted using the sequential search method, top-down for the largest error estimate and bottom-up for the smallest error estimate.

LIBRARY
SLATEC

TYPE
DOUBLE PRECISION (QPSRT-S, DQPSRT-D)

KEYWORDS
SEQUENTIAL SORTING

AUTHOR
Piessens, Robert Applied Mathematics and Programming Division K. U. Leuven de Doncker, Elise Applied Mathematics and Programming Division K. U. Leuven

DESCRIPTION
Ordering routine Standard fortran subroutine Double precision version PARAMETERS (MEANING AT OUTPUT) LIMIT - Integer Maximum number of error estimates the list can contain LAST - Integer Number of error estimates currently in the list MAXERR - Integer MAXERR points to the NRMAX-th largest error estimate currently in the list ERMAX - Double precision NRMAX-th largest error estimate ERMAX = ELIST(MAXERR) ELIST - Double precision Vector of dimension LAST containing the error estimates IORD - Integer Vector of dimension LAST, the first K elements of which contain pointers to the error estimates, such that ELIST(IORD(1)),..., ELIST(IORD(K)) form a decreasing sequence, with K = LAST if LAST.LE.(LIMIT/2+2), and K = LIMIT+1-LAST otherwise NRMAX - Integer MAXERR = IORD(NRMAX)

SEE ALSO
DQAGE, DQAGIE, DQAGPE, DQAWSE

ROUTINES CALLED
(NONE)

REVISION HISTORY (YYMMDD)
800101 DATE WRITTEN
890831 Modified array declarations. (WRB)
890831 REVISION DATE from Version 3.2
891214 Prologue converted to Version 4.0 format. (BAB)
900328 Added TYPE section. (WRB)