next up previous contents
Next: Prefix and Suffix Functions Up: HPF Intrinsics and Library Previous: Array Combining Scatter Functions

 

Array Combining Scatter Functions II

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 gif


next up previous contents
Next: Prefix and Suffix Functions Up: HPF Intrinsics and Library Previous: Array Combining Scatter Functions

©University of Liverpool, 1997
Wed May 28 23:37:18 BST 1997
Not for commercial use.