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

SCM Repository

[diderot] Diff of /branches/charisee/test/addVec.diderot
ViewVC logotype

Diff of /branches/charisee/test/addVec.diderot

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

revision 2626, Fri May 16 18:32:52 2014 UTC revision 2627, Sat May 17 00:44:22 2014 UTC
# Line 7  Line 7 
7  vec4 t4 = [1.0, 0.0, 0.0,7.8];  vec4 t4 = [1.0, 0.0, 0.0,7.8];
8    
9  tensor [6] a=[1.0, 6.0, 9.0,7.7,1.1,4.0];  tensor [6] a=[1.0, 6.0, 9.0,7.7,1.1,4.0];
10    tensor [6] b=[1.0, 3.0, 9.0,8.7,1.1,41.0];
11    
12  tensor[3,4] h = [[2.0,0.0,0.0,3.0],   // analytic hessian  tensor[3,4] h = [[2.0,0.0,0.0,3.0],   // analytic hessian
13                  [0.0,2.0,0.0,1.0],                  [0.0,2.0,0.0,1.0],
# Line 21  Line 22 
22  strand tensorTest (int row)  strand tensorTest (int row)
23  {  {
24    
25  tensor [6] B=a+a+a;  tensor [6] c=a+b;
26    
27    
28      update      update

Legend:
Removed from v.2626  
changed lines
  Added in v.2627

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