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

revision 349, Fri Sep 24 00:24:20 2010 UTC revision 457, Wed Oct 27 12:08:13 2010 UTC
# Line 29  Line 29 
29  Dot : int : 2 :  Dot : int : 2 :
30  # Cross(u, v)   -- computes cross product of u and v  # Cross(u, v)   -- computes cross product of u and v
31  Cross : : 2 :  Cross : : 2 :
32  # Select<n,i>(u)  -- select ith element of vector u; n specifies u's arity  # Select<ty,i>(u)  -- select ith element of vector u; ty specifies u's type (IVec or Vec)
33  Select : int * int : 1 :  Select : ty * int : 1 :
34  # Norm<n>(u)   -- computes length of vector u; n specifies u's arity  # Norm<n>(u)   -- computes length of vector u; n specifies u's arity
35  Norm : int : 1 :  Norm : int : 1 :
36  # Scale<n>(s,u) -- multiply scalar s time vector u; n specifies u's arity  # Scale<n>(s,u) -- multiply scalar s time vector u; n specifies u's arity
# Line 42  Line 42 
42  Subscript : ty : 2 :  Subscript : ty : 2 :
43  Floor : int : 1 : compute real floor of a vector  Floor : int : 1 : compute real floor of a vector
44  #  #
45  ### conversions  ### conversions; the real to int forms are vector ops
46  IntToReal : : 1 :  IntToReal : : 1 :
47  TruncToInt : int : 1 :  TruncToInt : int : 1 :
48  RoundToInt : int : 1 :  RoundToInt : int : 1 :
# Line 53  Line 53 
53  # VoxelAddress<V>(i, j, ...) -- compute the address of the voxel data indexed by i, j, ...  # VoxelAddress<V>(i, j, ...) -- compute the address of the voxel data indexed by i, j, ...
54  VoxelAddress : ImageInfo.info : * : compute the address of a voxel  VoxelAddress : ImageInfo.info : * : compute the address of a voxel
55  LoadVoxels : RawTypes.ty * int : 1 : load a vector of voxel values from an address  LoadVoxels : RawTypes.ty * int : 1 : load a vector of voxel values from an address
56  # Transform<V>(u) -- transforms the world-space vector u into the image-space specified by V.  # PosToImgSpace<V>(u) -- transforms the world-space position u into the image-space specified by V.
57  Transform : ImageInfo.info : 1 : transform a position to image-space  PosToImgSpace : ImageInfo.info : 1 : transform a world-space position to image-space
58    # GradToWorldSpace<V>(u) -- transforms the image-space gradient vector u to world space
59    GradToWorldSpace : ImageInfo.info : 1 : transform an image-space gradient to world-space
60  # 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.
61  EvalKernel : int * Kernel.kernel * int : 1 : apply a kernel function to a scalar or vector of arguments  EvalKernel : int * Kernel.kernel * int : 1 : apply a kernel function to a scalar or vector of arguments
62  LoadImage : ImageInfo.info : 0 : image-file loading  LoadImage : ImageInfo.info : 0 : image-file loading
63  # ImageInfo<V>(u) -- tests to see if world-space position u is inside the volume occupied by the image V.  # Inside<V>(u) -- tests to see if image-space position u is inside the volume occupied by the image V.
64  Inside : ImageInfo.info : 1 :  Inside : ImageInfo.info : 1 :
65  #  #
66  # inputs  # inputs
67  Input : string : 0 :  Input : ty * string : 0 :
68  InputWithDefault : string : 1 :  InputWithDefault : ty * string : 1 :

Legend:
Removed from v.349  
changed lines
  Added in v.457

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