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

SCM Repository

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

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

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

revision 2610, Fri May 2 18:31:56 2014 UTC revision 2611, Mon May 5 21:21:12 2014 UTC
# Line 12  Line 12 
12  tensor[4,4] M = [[2.0,0.0,0.0,3.0],[0.0,2.0,0.0,1.0],  tensor[4,4] M = [[2.0,0.0,0.0,3.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]];                  [0.0,0.0,2.0,8.9],[0.0,0.0,2.0,8.9]];
14    
15    /*
16  //scalars  //scalars
17  real addScalar=4+7;  real addScalar=4+7;
18  real subScalar=9 - 9;  real subScalar=9 - 9;
# Line 46  Line 47 
47  tensor [3,3] t9=t0⊗t1;  tensor [3,3] t9=t0⊗t1;
48  tensor [3,4] t10=t0⊗t3;  tensor [3,4] t10=t0⊗t3;
49    
50    */
51  vec3 Q1=t0 × t1;  vec3 Q1=t0 × t1;
52    
53  vec3 Q3=Q1 × Q1;  vec3 Q3=Q1 × Q1;
54    
55    

Legend:
Removed from v.2610  
changed lines
  Added in v.2611

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