SCULIB_MULTARE

multiplies 2 real arrays with optional error and quality handling

Description:

Multiplies two floating point arrays. The arrays may have any dimensions; they are treated here as linear in order to generate more efficient code.

Invocation

CALL SCULIB_MULTARE (NELM, ARRAY1, ARRAY2, ARRAY3, Q1DATA, Q2DATA, Q3DATA, E1DATA, E2DATA, E3DATA, QUAL, FLAGS, FBAD, VARIANCE)

Arguments

NELM = INTEGER (Given)
Number of elements in each array
ARRAY1 (NELM) = REAL (Given)
Input array
ARRAY2 (NELM) = REAL (Given)
Second input array.
ARRAY3 (NELM) = REAL (Returned)
Result array. ARRAY3=ARRAY1ARRAY2
Q1DATA (NELM) = INTEGER (Given)
Quality array for first input array
Q2DATA (NELM) = INTEGER (Given)
Quality array for second input array
Q3DATA (NELM) = INTEGER (Returned)
Quality array for output array
E1DATA (NELM) = REAL (Given)
Variance array for input array
E2DATA (NELM) = REAL (Given)
Variance array for second input array
E3DATA (NELM) = REAL (Returned)
Variance array for output array
QUAL = LOGICAL (Given)
True if input has quality information
FLAGS = LOGICAL (Given)
True if input has flagged data values
FBAD = REAL (Given)
Flag value
VARIANCE = LOGICAL (Given)
True if both input arrays have variance arrays

Notes:

Copyright

Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council. All Rights Reserved.