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

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/gen/ir/high-ir.spec
ViewVC logotype

Diff of /branches/vis15/src/compiler/gen/ir/high-ir.spec

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

revision 3483, Sat Dec 5 15:02:33 2015 UTC revision 3491, Thu Dec 10 21:47:05 2015 UTC
# Line 30  Line 30 
30  Clamp : ty : 1 : 3 : clamp argument to range  Clamp : ty : 1 : 3 : clamp argument to range
31  # Lerp<ty>(a, b, t) -- computes a + t*(b-a)  # Lerp<ty>(a, b, t) -- computes a + t*(b-a)
32  Lerp : ty : 1 : 3 : linear interpolation between 0 and 1  Lerp : ty : 1 : 3 : linear interpolation between 0 and 1
33  # Dist<ty>(T1,T2) -- computes the distance between T1 and T2.  # Dist<ty>(T1,T2) -- computes the distance between T1 and T2.  (to be moved to Ein)
34  Dist : ty : 1: 2 :  Dist : ty : 1: 2 :
35  PrincipleEvec : ty : 1 : 2 : principle eigenvector; ty is result vector type  PrincipleEvec : ty : 1 : 2 : principle eigenvector; ty is result vector type
36  Eigen2x2 : : 1 : 1 : Eigenvector and values for 2x2 matrix  Eigen2x2 : : 1 : 1 : Eigenvector and values for 2x2 matrix
37  Eigen3x3 : : 1 : 1 : Eigenvector and values for 3x3 matrix  Eigen3x3 : : 1 : 1 : Eigenvector and values for 3x3 matrix
38    # Zero<ty>() -- zero tensor (until Zero is supported in Ein)
39    Zero : ty : 1 : 0 : all zeros tensor
40  Slice : ty * mask : 1 : 1 : tensor slice; type is tensor argument type  Slice : ty * mask : 1 : 1 : tensor slice; type is tensor argument type
41  TensorSub : ty : 1 : * : tensor subscript (special case of slice)  TensorSub : ty : 1 : * : tensor subscript (special case of slice)
42  #  #
# Line 71  Line 73 
73  # image/field operations  # image/field operations
74  Kernel       : Kernel.kernel * int  : 1 : 0 : Kernel<h, k>, where h is the kernel and k is level of differentiation  Kernel       : Kernel.kernel * int  : 1 : 0 : Kernel<h, k>, where h is the kernel and k is level of differentiation
75  Inside       : int                  : 1 : 2 : args are position, field  Inside       : int                  : 1 : 2 : args are position, field
 #Probe        : ty * ty              : 1 : 2 : Probe<domTy, rngTy>(fld, pos) probes fld at pos.  
 #ProbeWithCtl : ty * ty              : 1 : 2 : probe with border control  
76  # ImageDim<I,i>(V) -- returns the i'th dimension of the image  # ImageDim<I,i>(V) -- returns the i'th dimension of the image
77  ImageDim : ImageInfo.info * int : 1 : 1 :  ImageDim : ImageInfo.info * int : 1 : 1 :
78  # BorderCtlDefault<I>(V,t) -- wrap the image V with the border control that returns a default value t  # BorderCtlDefault<I>(V,t) -- wrap the image V with the border control that returns a default value t

Legend:
Removed from v.3483  
changed lines
  Added in v.3491

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