Basic HTML version of Foils prepared 21 Sept 1995

Foil 12 Selection: Conditional Evaluation of Array Operations

From New CPS615 Foils-- 28 August 95 CPS615 Basic Simulation Track for Computational Science -- Fall Semester 95. by Nancy McCracken and Geoffrey C. Fox


1 A Boolean array -- here called L -- can determine a "context" in which a data-parallel operation is evaluated
2 This example gives a final array with undefined elements and corresponds to
3 Fortran 90 selection statement
4 where L
  • a=a+b

in Table To:


© on Tue Oct 7 1997