previous up next
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: October 14, 1997

previous up next