Next: SEGMENT and EXCLUSIVE
Up: HPF Intrinsics and Library
Previous: Prefix and Suffix Functions
The functions all take (more or less) the same arguments, for example:
MINVAL_PREFIX(ARRAY[,DIM][,MASK][,SEGMENT][,EXCLUSIVE])
- a MASK argument works as in Fortran 90,
- COPY_ ... doesn't have MASK and EXCLUSIVE,
- ALL_ ..., ANY_ ..., COUNT_ ... and PARITY_ ...
do not have MASK as ARRAY is LOGICAL.
MASK and SEGMENT are LOGICAL, MASK conforms to ARRAY, SEGMENT
has same shape as ARRAY.
Example of the MASK argument,
PRODUCT_PREFIX((/1,2,3,4/), MASK=(/T,F,T,F/)) = (/1,1,3,3/)
For more information, click here
Now try this question
Next: SEGMENT and EXCLUSIVE
Up: HPF Intrinsics and Library
Previous: Prefix and Suffix Functions
Adam Marshall ©University of Liverpool, 1996
Fri Dec 6 18:56:08 GMT 1996Not for commercial use.