IPLOC(3)

SYNOPSIS
INTEGER FUNCTION IPLOC (LOC, SX, IX)

NAME
iploc - Subsidiary to SPLP

LIBRARY
SLATEC

TYPE
SINGLE PRECISION (IPLOC-S, IDLOC-D)

KEYWORDS
RELATIVE ADDRESS DETERMINATION FUNCTION, SLATEC

AUTHOR
Hanson, R. J., (SNLA) Wisniewski, J. A., (SNLA)

DESCRIPTION
Given a "virtual" location, IPLOC returns the relative working address of the vector component stored in SX, IX. Any necessary page swaps are performed automatically for the user in this function subprogram. LOC is the "virtual" address of the data to be retrieved. SX ,IX represent the matrix where the data is stored.

SEE ALSO
SPLP

ROUTINES CALLED
PRWPGE, XERMSG

REVISION HISTORY (YYMMDD)
810306 DATE WRITTEN
890531 Changed all specific intrinsics to generic. (WRB)
890606 Restructured to match double precision version. (WRB)
890606 REVISION DATE from Version 3.2
891214 Prologue converted to Version 4.0 format. (BAB)
900315 CALLs to XERROR changed to CALLs to XERMSG. (THJ)
910731 Added code to set IPLOC to 0 if LOC is non-positive. (WRB)