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

SCM Repository

[diderot] Diff of /branches/charisee/ertest/vispaper/tiso3d/resamp.diderot
ViewVC logotype

Diff of /branches/charisee/ertest/vispaper/tiso3d/resamp.diderot

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

revision 3108, Wed Mar 18 16:14:24 2015 UTC revision 3109, Wed Mar 18 16:27:22 2015 UTC
# Line 25  Line 25 
25  field#2(3)[3,3] V= bspln3 ⊛ image("tball.nrrd");  field#2(3)[3,3] V= bspln3 ⊛ image("tball.nrrd");
26    
27  // BUG: [resamp.diderot:26.34] Error: syntax error; try deleting "identity"  // BUG: [resamp.diderot:26.34] Error: syntax error; try deleting "identity"
28  field#2(3)[3,3] E = V - trace(V)*identity[3,3]/3;  field#2(3)[3,3] E = V - trace(V)*identity[3]/3;
29    
30  // either of these should work as definition of tensor FA  // either of these should work as definition of tensor FA
31  field#2(3)[] F = sqrt(3.0*E:E/(2.0*D:D));  field#2(3)[] F = sqrt(3.0*E:E/(2.0*V:V));
32  //field#2(3)[] F = sqrt(3.0/2.0)*|E|/|V|;  //field#2(3)[] F = sqrt(3.0/2.0)*|E|/|V|;
33    
34  strand sample(int xi, int yi, int zi) {  strand sample(int xi, int yi, int zi) {

Legend:
Removed from v.3108  
changed lines
  Added in v.3109

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