KPG1_RETVx

Retrieves values specified by index from a vector

Description:

This routine returns values from a vector at supplied indices. This is intended for accessing a few values from a mapped array.

Invocation

CALL KPG1_RETVx( EL, ARRAY, NVAL, INDEX, VALUES, STATUS )

Arguments

EL = INTEGER (Given)
The number of elements in the array.
ARRAY( EL ) = ? (Given)
The input array.
NVAL = INTEGER (Given)
The number of element values to return.
INDEX( NVAL ) = INTEGER (Given)
The indices of the array elements to be returned.
VALUES( NVAL ) = ? (Returned)
The value of the Xth array element.
STATUS = INTEGER (Given and Returned)
The global status.

Implementation Status: