Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis15/src/tests/new-tests/global-sum-test.diderot
ViewVC logotype

Diff of /branches/vis15/src/tests/new-tests/global-sum-test.diderot

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4489, Sat Sep 3 00:32:03 2016 UTC revision 4490, Sat Sep 3 01:10:16 2016 UTC
# Line 1  Line 1 
1    #version 2.0
2    
3  /* global-sum-test.diderot  /* global-sum-test.diderot
4   *   *
5   * This program tests the use of global reductions in a program.   * This program tests the use of global reductions in a program.
# Line 28  Line 30 
30    
31  collection { S(i) | i in 1..N }  collection { S(i) | i in 1..N }
32    
33  initially {  start {
34  //  target = sum { p.e | p in S.all } / N;  //  target = sum { p.e | p in S.all } / N;
35    target = mean { p.e | p in S.all };    target = mean { p.e | p in S.all };
36    print("initially: target = ", target, "\n");    print("initially: target = ", target, "\n");

Legend:
Removed from v.4489  
changed lines
  Added in v.4490

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0