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

SCM Repository

[diderot] Diff of /branches/charisee/src/compiler/ein/operators.sml
ViewVC logotype

Diff of /branches/charisee/src/compiler/ein/operators.sml

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

revision 2410, Sun Aug 4 17:45:40 2013 UTC revision 2411, Sun Aug 4 17:45:59 2013 UTC
# Line 17  Line 17 
17    
18    
19    
20    val tensorOp== G.EIN{
21        params = [G.TEN],
22        index = [G.MX],
23        body = Tensor(0, [0])
24     }
25    
26    val FieldOp== G.EIN{
27        params = [G.FLD],
28        index = [G.MX],
29        body =G.Field(0, [0])
30     }
31    
32    
33    
# Line 209  Line 220 
220          val probe = G.EIN{          val probe = G.EIN{
221          params = [G.FLD,G.TEN],          params = [G.FLD,G.TEN],
222          index= [G.MX,G.MX],          index= [G.MX,G.MX],
223          body= G.Probe(G.Field(0, [1]), 1) (* F_{\alpha}  Tensor1 is position*)          body= G.Probe(G.Field(0, [0]), G.Tensor(0,[1])) (* F_{\alpha}  Tensor1 is position*)
224          }          }
225    
226  (***************************Specialized Terms*********************************)  (***************************Specialized Terms*********************************)

Legend:
Removed from v.2410  
changed lines
  Added in v.2411

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