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

SCM Repository

[diderot] Diff of /branches/charisee/test/E-tRewrites.diderot
ViewVC logotype

Diff of /branches/charisee/test/E-tRewrites.diderot

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

revision 2516, Thu Dec 12 20:30:27 2013 UTC revision 2517, Thu Dec 12 20:35:28 2013 UTC
# Line 6  Line 6 
6  vec3 t3 = [1.0, 6.0, 9.0];  vec3 t3 = [1.0, 6.0, 9.0];
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];
10    
11  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
12                  [0.0,2.0,0.0,1.0],                  [0.0,2.0,0.0,1.0],
13                  [0.0,0.0,2.0,8.9]];                  [0.0,0.0,2.0,8.9]];
# Line 16  Line 18 
18    
19    
20    
21    tensor [6] b=a;
22    
23  //Trace of the outer Product  //Trace of the outer Product
24    
25  ;;Should all work with new normalize Dec 1st  //Should all work with new normalize Dec 1st
26  tensor [3,3] O=t0⊗t1;  tensor [3,3] O=t0⊗t1;
27  real traceOuter = trace(O);  real traceOuter = trace(O);
28  real s=traceOuter+9;  real s=traceOuter+9;

Legend:
Removed from v.2516  
changed lines
  Added in v.2517

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