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

SCM Repository

[diderot] Diff of /branches/vis12/src/compiler/gen/il/mid-il.spec
ViewVC logotype

Diff of /branches/vis12/src/compiler/gen/il/mid-il.spec

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

trunk/src/compiler/gen/il/mid-il.spec revision 1640, Wed Nov 16 02:19:51 2011 UTC branches/vis12/src/compiler/gen/il/mid-il.spec revision 2009, Fri Oct 5 17:58:18 2012 UTC
# Line 36  Line 36 
36  MulMatVec : int * int : 1 : 2 : matrix times vector multiplication (type is matrix type)  MulMatVec : int * int : 1 : 2 : matrix times vector multiplication (type is matrix type)
37  # MulMatMat<m,n,p>(M, N) -- computes M*N, where M is an mxn-matrix and N is an nxp-matrix  # MulMatMat<m,n,p>(M, N) -- computes M*N, where M is an mxn-matrix and N is an nxp-matrix
38  MulMatMat : int * int * int : 1 : 2 : matrix times matrix multiplication  MulMatMat : int * int * int : 1 : 2 : matrix times matrix multiplication
39    # MulVecTen3<m,n,p>(v, T) -- computes v*T, where T is an mxnxp-tensor and v is an m-vector
40    MulVecTen3 : int * int * int : 1 : 2 : vector times 3rd-order tensor multiplication
41    # MulTen3Vec<m,n,p>(v, T) -- computes T*v, where T is an mxnxp-tensor and v is a p-vector
42    MulTen3Vec : int * int * int : 1 : 2 : 3rd-order tensor times vector multiplication
43    # ColonMul<ty1,ty2>(T1, T2) -- computes T1:T2, where T1 (resp. T2) has type ty1 (resp. ty2)
44    ColonMul : ty * ty : 1 : 2 : colon product
45  # Cross(u, v)   -- computes cross product of u and v  # Cross(u, v)   -- computes cross product of u and v
46  Cross : : 1 : 2 :  Cross : : 1 : 2 :
47  # 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
# Line 63  Line 69 
69  Index : ty * int : 1 : 1 :  Index : ty * int : 1 : 1 :
70  # Subscript<ty>(u,i) -- select ith element of sequence; ty is type of sequence  # Subscript<ty>(u,i) -- select ith element of sequence; ty is type of sequence
71  Subscript : ty : 1 : 2 :  Subscript : ty : 1 : 2 :
72    # MkDynamic<ty,n> -- make a sequence with type ty{n} into a dynamic sequence
73    MkDynamic : ty * int : 1 : 1 : make a fixed-length sequence dynamic
74    Append : ty : 2 : 1 : append an element onto a dynamic sequence
75    Prepend : ty : 2 : 1 : prepend an element onto a dynamic sequence
76    Concat : ty : 2 : 1 : concatenate two dynamic sequences
77    # Length<ty> -- return the length of a sequence with type ty{}
78    Length : ty : 1 : 1 : return the length of a dynamic sequence
79  #  #
80  # compute integral parts of reals  # compute integral parts of reals
81  Ceiling : int : 1 : 1 : compute real ceiling of a vector  Ceiling : int : 1 : 1 : compute real ceiling of a vector
# Line 86  Line 99 
99  TensorToWorldSpace : ImageInfo.info * ty : 1 : 2 : transform an image-space gradient to world-space  TensorToWorldSpace : ImageInfo.info * ty : 1 : 2 : transform an image-space gradient to world-space
100  # EvalKernel<i,h,k>(u) -- computes (D^k h)(u), where i is the size of vector u.  # EvalKernel<i,h,k>(u) -- computes (D^k h)(u), where i is the size of vector u.
101  EvalKernel : int * Kernel.kernel * int : 1 : 1 : apply a kernel function to a scalar or vector of arguments  EvalKernel : int * Kernel.kernel * int : 1 : 1 : apply a kernel function to a scalar or vector of arguments
 LoadImage : ImageInfo.info : 1 : 1 : image-file loading  
102  # Inside<I,s>(u,V) -- tests to see if image-space position u is inside the volume  # Inside<I,s>(u,V) -- tests to see if image-space position u is inside the volume
103  # occupied by the image V.  I is the image info and s is the border width  # occupied by the image V.  I is the image info and s is the border width
104  Inside : ImageInfo.info * int : 1 : 2 :  Inside : ImageInfo.info * int : 1 : 2 :
# Line 94  Line 106 
106  # inputs  # inputs
107  Input            : ty * string * string  : 1 : 0 :  Input            : ty * string * string  : 1 : 0 :
108  InputWithDefault : ty * string * string  : 1 : 1 :  InputWithDefault : ty * string * string  : 1 : 1 :
109    InputNrrd               : ty * string * string          : 1 : 0 : input image or sequence from nrrd
110    InputNrrdWithDefault    : ty * string * string * string : 1 : 0 : input image or sequence from nrrd
111  #  #
112  # printing support for debugging  # printing support for debugging
113  Print : tys : 0 : * : print strings  Print : tys : 0 : * : print strings

Legend:
Removed from v.1640  
changed lines
  Added in v.2009

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