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

# SCM Repository

[diderot] Diff of /branches/vis12-cl/test/derivs3.diderot
 [diderot] / branches / vis12-cl / test / derivs3.diderot

# Diff of /branches/vis12-cl/test/derivs3.diderot

revision 1670, Sun Dec 4 10:45:43 2011 UTC revision 1671, Sun Dec 4 10:56:10 2011 UTC
# Line 54  Line 54
54          // val = [|F0X(p)-f|, |F0Y(p)-f|, |F0Z(p)-f|];          // val = [|F0X(p)-f|, |F0Y(p)-f|, |F0Z(p)-f|];
55
56          // (2) These are magnitudes of the errors in the gradients          // (2) These are magnitudes of the errors in the gradients
57          val = [|∇FX(p)-g|, |∇FY(p)-g|, |∇FZ(p)-g|];          //val = [|∇FX(p)-g|, |∇FY(p)-g|, |∇FZ(p)-g|];
58
59          // (3) Magnitudes of errors in Hessians          // (3) Magnitudes of errors in Hessians
60          // val = [|∇(∇FX)(p)-h|, |∇(∇FY)(p)-h|, |∇(∇FZ)(p)-h|]/100.0;          val = [|∇(∇FX)(p)-h|, |∇(∇FY)(p)-h|, |∇(∇FZ)(p)-h|]/100.0;
61
62          stabilize;          stabilize;
63      }      }

Legend:
 Removed from v.1670 changed lines Added in v.1671

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