Home My Page Projects Code Snippets Project Openings diderot

# SCM Repository

[diderot] Diff of /trunk/doc/probe/paper.tex
 [diderot] / trunk / doc / probe / paper.tex

# Diff of /trunk/doc/probe/paper.tex

revision 275, Wed Aug 11 16:45:29 2010 UTC revision 276, Wed Aug 11 21:19:44 2010 UTC
# Line 273  Line 273
273    // compute kernel values for each axis    // compute kernel values for each axis
274    double4 t, hx, hy, hz;    double4 t, hx, hy, hz;
275    t = (double4)(f.x +1, f.x, f.x - 1, f.x - 2);    t = (double4)(f.x +1, f.x, f.x - 1, f.x - 2);
276    hx = a + t*(b + t*(c + t*d));    hx = d + t*(c + t*(b + t*a));
277    t = (double4)(f.y +1, f.y, f.y - 1, f.y - 2);    t = (double4)(f.y +1, f.y, f.y - 1, f.y - 2);
278    hy = a + t*(b + t*(c + t*d));    hy = d + t*(c + t*(b + t*a));
279    t = (double4)(f.z +1, f.z, f.z - 1, f.z - 2);    t = (double4)(f.z +1, f.z, f.z - 1, f.z - 2);
280    hz = a + t*(b + t*(c + t*d));    hz = d + t*(c + t*(b + t*a));
281
282    double vy[4], vz[4];    double vy[4], vz[4];
283    for (int i = 1-s;  i <= s;  i++) {    for (int i = 1-s;  i <= s;  i++) {

Legend:
 Removed from v.275 changed lines Added in v.276