- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑
Description:
This routine assigns values to an output vector from an input vector. The values are
selected using a list of indices in the input vector, there being one index per output value. A bad value
or a value outside the bounds of the array in the list of indices causes a bad value to be assigned to the
output array.
Invocation
CALL KPG1_VASVx( OEL, INDICE, IEL, INARR, OUTARR, NBAD, STATUS )
Arguments
OEL = INTEGER (Given)
The dimension of the output vector and also the list of
indices.
INDICE( OEL ) = INTEGER (Given)
The indices in the input array that point to the values
to be assigned to the output vector.
IEL = INTEGER (Given)
The dimension of the input vector.
INARR( IEL ) = ? (Given)
The vector containing values to be given to the output vector.
OUTARR( OEL ) = ? (Returned)
The vector containing values copied from the input
vector according to the list of indices.
NBAD = INTEGER (Returned)
The number of bad
values in the output array.
STATUS = INTEGER (Given)
The global status.
Notes:
-
There is a routine for each numeric data type: replace "
x"
in the routine name by D, R, I, W, UW, B or
UB as appropriate. The input and output vectors supplied to the routine must have the data type
specified.
- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑