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

SCM Repository

[diderot] Diff of /branches/pure-cfg/src/compiler/gen/il/low-il.spec
ViewVC logotype

Diff of /branches/pure-cfg/src/compiler/gen/il/low-il.spec

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

revision 1524, Mon Oct 10 18:29:43 2011 UTC revision 1525, Thu Oct 13 15:57:40 2011 UTC
# Line 37  Line 37 
37  MulMatMat : int * int * int : 2 : matrix times matrix multiplication  MulMatMat : int * int * int : 2 : matrix times matrix multiplication
38  # Cross(u, v)   -- computes cross product of u and v  # Cross(u, v)   -- computes cross product of u and v
39  Cross : : 2 :  Cross : : 2 :
 # Select<ty,i>(u)  -- select ith element of vector u; ty specifies u's type (IVec or Vec)  
 Select : ty * int : 1 :  
40  # Norm<ty>(x) -- returns the norm of the tensor x, which has type ty  # Norm<ty>(x) -- returns the norm of the tensor x, which has type ty
41  Norm : ty : 1 :  Norm : ty : 1 :
42  # Normalize<n>(v)   -- returns the unit vector in direction u; n is the length ov u  # Normalize<n>(v)   -- returns the unit vector in direction u; n is the length ov u
# Line 50  Line 48 
48  Identity : int : 0 : identity matrix  Identity : int : 0 : identity matrix
49  # Zero<ty>() -- zero tensor  # Zero<ty>() -- zero tensor
50  Zero : ty : 0 : identity matrix  Zero : ty : 0 : identity matrix
51    #
52    # operations on sequences
53    # Select<ty,i>(u)  -- select ith element of tuple; ty is tuple type
54    Select : ty * int : 1 :
55    # Index<ty,i>(u)  -- select ith element of sequence; ty is sequence type
56    Index : ty * int : 1 :
57    # Subscript<ty>(u,i) -- select ith element of sequence; ty is type of sequence
58  Subscript : ty : 2 :  Subscript : ty : 2 :
59  #  #
60  # compute integral parts of reals  # compute integral parts of reals

Legend:
Removed from v.1524  
changed lines
  Added in v.1525

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