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

SCM Repository

[diderot] Diff of /trunk/src/compiler/IL/kernel.sml
ViewVC logotype

Diff of /trunk/src/compiler/IL/kernel.sml

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

revision 196, Mon Aug 2 19:10:49 2010 UTC revision 197, Mon Aug 2 20:51:47 2010 UTC
# Line 43  Line 43 
43    (* some standard kernels *)    (* some standard kernels *)
44      val tent : kernel           (* linear interpolation *)      val tent : kernel           (* linear interpolation *)
45      val ctmr : kernel           (* Catmull-Rom interpolation *)      val ctmr : kernel           (* Catmull-Rom interpolation *)
46      val bspl3 : kernel          (* cubic bspline reconstruction, doesn't interpolate *)      val bspln3 : kernel         (* cubic bspline reconstruction, doesn't interpolate *)
47      val bspl5 : kernel          (* quintic bspline reconstruction, doesn't interpolate *)      val bspln5 : kernel         (* quintic bspline reconstruction, doesn't interpolate *)
48    
49    end = struct    end = struct
50    
# Line 180  Line 180 
180                  [r 2, r ~4, 5/2, ~1/2]                  [r 2, r ~4, 5/2, ~1/2]
181                ]                ]
182            }            }
183      val bspl3 : kernel = mkKernel{      (* cubic bspline reconstruction, doesn't interpolate *)      val bspln3 : kernel = mkKernel{     (* cubic bspline reconstruction, doesn't interpolate *)
184              name = "bspl3",              name = "bspln3",
185              support = 2,              support = 2,
186              segs = [              segs = [
187                  [ 2/3, r 0, r ~1, 1/2 ],                  [ 2/3, r 0, r ~1, 1/2 ],
188                  [ 4/3, r ~2, r 1, ~1/6 ]                  [ 4/3, r ~2, r 1, ~1/6 ]
189                ]                ]
190            }            }
191      val bspl5 : kernel = mkKernel{      (* quintic bspline reconstruction, doesn't interpolate *)      val bspln5 : kernel = mkKernel{     (* quintic bspline reconstruction, doesn't interpolate *)
192              name = "bspl5",              name = "bspln5",
193              support = 3,              support = 3,
194              segs = [              segs = [
195                  [ 11/20, r 0, ~1/2, r 0, 1/4, ~1/12 ],                  [ 11/20, r 0, ~1/2, r 0, 1/4, ~1/12 ],

Legend:
Removed from v.196  
changed lines
  Added in v.197

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