\"\" \"\" \"\"
Go backward to Conditional Vector Merge
Go up to Top
Go forward to Example
RISC-Linz logo

Vector Reductions

Also some assignments into scalars can be vectorized.
S = 0
DO I = 1, N
  S = S+A(I)
ENDDO
|
V
S = VECTOR_SUM(A)
Only for predefined reduction operations!
Author: Wolfgang Schreiner
Last modification: November 15, 1996