- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑
Description:
The
routine divides one vectorised array by another, with optional variance information. Bad value
checking is also performed if required.
Invocation
CALL KPG1_DIVx( BAD, VAR, EL, A, VA,
B, VB, C, VC, NBAD, STATUS )
Arguments
BAD = LOGICAL (Given)
Whether it is
necessary to check for bad values in the input arrays. The routine will execute more rapidly if
this checking can be omitted.
VAR = LOGICAL (Given)
Whether associated variance
information is to be processed.
EL = INTEGER (Given)
Number of array elements to
process.
A( EL ) = ? (Given)
First array of data, to be divided by the second array.
VA(
EL ) = ? (Given)
Variance values associated with the array A. Not used if VAR is set to
.FALSE..
B( EL ) = ? (Given)
Second array of data, to be divided into the first array.
VB( EL ) = ? (Given)
Variance values associated with the array B. Not used if VAR is set
to .FALSE..
C( EL ) = ? (Returned)
Result of dividing array A by array B.
VC( EL )
= ? (Returned)
Variance values associated with the array C. Not used if VAR is set to
.FALSE..
NBAD = INTEGER (Returned)
Number of VAL__BADx values in the returned
results array (C).
STATUS = INTEGER (Given and Returned)
The global status.
Notes:
-
There is a routine for each of the data types real and double precision: replace "
x"
in the routine name
by R or D as appropriate. The arrays passed to this routine should all have the specified data
type.
-
This routine will NOT handle numerical overflow.
- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑