KPG1_MULx

Multiplies two vectorised arrays with optional variance information

Description:

The routine forms the product of two vectorised arrays, with optional variance information. Bad value checking is also performed if required.

Invocation

CALL KPG1_MULx( BAD, VAR, EL, A, VA, B, VB, C, VC, NERR, 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 multiplied.
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 multipled.
VB( EL ) = ? (Given)
Variance values associated with the array B. Not used if VAR is set to .FALSE..
C( EL ) = ? (Returned)
Result of multiplying arrays A and B.
VC( EL ) = ? (Returned)
Variance values associated with the array C. Not used if VAR is set to .FALSE..
NERR = INTEGER (Returned)
Number of numerical errors that occurred during the calculations.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: