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/slice-test.diderot
ViewVC logotype

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

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

revision 3933, Sun Jun 5 19:29:10 2016 UTC revision 3997, Sun Jun 19 15:55:49 2016 UTC
# Line 3  Line 3 
3    
4  input tensor[3] x = [1, 2, 3];  input tensor[3] x = [1, 2, 3];
5  tensor[3,3] M = [ [1, 2, 3], [4, 5, 6], [7, 8, 9] ];  tensor[3,3] M = [ [1, 2, 3], [4, 5, 6], [7, 8, 9] ];
6    int g1 = 42;
7    int g2 = g1 + 1;
8    
9    {
10      print ("M = ", M, "\n");
11    }
12    
13  strand S () {  strand S () {
14    output real w = x[0] + x[1] * (M[1,:] • M[:, 2]);    output real w = x[0] + x[1] * (M[1,:] • M[:, 2]);

Legend:
Removed from v.3933  
changed lines
  Added in v.3997

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