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


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



© on Tue Oct 7 1997