DPCE HPF
---- ---
Defining a Shape Declaring a Template
shape [100][50]s; !hpf$ template t(50,100)
Declaring a parallel variable Aligning an array with a template
with a shape attribute
float:s a; real a(50,100)
!hpf$ align with t:: a;
Using parallel variable in Using array syntax in computation
computation
a = 0.; a = 0;
[2:10:3][.]a = 1.; a(3:11:3,:) = 1.
Where construct for context Where construct for conditionals
where ( a<0 ) a = 0; where ( a<0 ) a = 0
©1995 Pacific-Sierra Research Corporation. All rights reserved.
Send comments or suggestions to dpce2 at crescentbaysoftware.com.