These functions allow combined assignments to vector subscripted arrays with repeated values. Consider,
A = PRODUCT_SCATTER(2*B(1:3),A,W)
A is now equal to (/4,16,1,1/).
The following prefixes are allowed for scatter functions: ALL, ANY, COUNT, IALL, IANY, IPARITY, MAXVAL, MINVAL, PARITY, PRODUCT and SUM. Consider,
MINVAL_SCATTER((/10,-2,4,2/),(/1,1,1/),(/2,2,1,1/))
this gives the result (/1,-2,1/).
For more information, click here