Flooding Abstraction
Flooding is a ZPL abstraction for replication
Fortran 90 has spread, MATLAB has “Tony’s Trick”
ZPL [1..n,*] F := >>[1..n,1] A;
MATLAB F = A(:,ones(1,size(A,2)))
F-90 F = SPREAD(A[:,1],DIM=2,N)
A
F: Logical
Previous slide
Next slide
Back to first slide
View graphic version