45
The Flood Operator (>>)
•An alternative is to save flooded vals -- dumb
•Flood (>>) replicates values of a subarray to fill a larger array
•“Statement region” specifies the shape of the result
•“Expression region” specifies the shape of the operand
•The subarray is replicated in all of the operand’s singleton dimensions
•[1..m,1..n] Maxfill := >>[1..m,1] Max1;
Statement region
Maxfill declared [1..m, 1..n]
Flood
Expression region
Max1 declared [1..m, 1]