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

SCM Repository

[diderot] View of /branches/charisee/ertest/test2/index_tensor3/index_tensor3.diderot
ViewVC logotype

View of /branches/charisee/ertest/test2/index_tensor3/index_tensor3.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3263 - (download) (annotate)
Mon Sep 28 18:01:40 2015 UTC (3 years, 10 months ago) by cchiw
File size: 607 byte(s)
project on i*j*k*l
tensor [3,3] a0=[[0,1,2],[3,4,5],[6,7,8]];
tensor [3,3] a1=[[10,11,12],[13,14,15],[16,17,18]];
tensor [3,3] a2=[[20,21,22],[23,24,25],[26,27,28]];
tensor [3,3,3] b0= [a0,a1,a2];

tensor [3,3] a3=[[30,31,32],[33,34,35],[36,37,38]];
tensor [3,3] a4=[[40,41,42],[43,44,45],[46,47,48]];
tensor [3,3] a5=[[50,51,52],[53,54,55],[56,57,58]];
tensor [3,3,3] b1= [a3,a4,a5];

tensor [3,3] m=[[0,0,0],[0,0,0],[0,0,0]];
tensor [3,3,3] b2= [m,m,m];





tensor [3,3,3] q=b2+b1;

strand f(real xi) {

output tensor[3] out =q[2,:,1];
    update {


        stabilize;
   }
}

initially { f(vi)
            | vi in 0..0};

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