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

# SCM Repository

[diderot] Diff of /trunk/test/derivs3.diderot
 [diderot] / trunk / test / derivs3.diderot

# Diff of /trunk/test/derivs3.diderot

revision 1115, Thu May 5 04:42:18 2011 UTC revision 1119, Thu May 5 05:07:35 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.1115 changed lines Added in v.1119

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