Home My Page Projects Code Snippets Project Openings diderot

# SCM Repository

[diderot] Diff of /branches/pure-cfg/test/derivs2.diderot
 [diderot] / branches / pure-cfg / test / derivs2.diderot

# Diff of /branches/pure-cfg/test/derivs2.diderot

revision 961, Sat Apr 23 19:32:22 2011 UTC revision 981, Tue Apr 26 12:02:21 2011 UTC
# Line 6  Line 6
6  //  //
7  // Can output image of errors in reconstructed values, or reconstructed  // Can output image of errors in reconstructed values, or reconstructed
8  // gradients, according to which of (1), (2), (3) is uncommented below.  // gradients, according to which of (1), (2), (3) is uncommented below.
9  // In other case, output is processed with:  // In all cases, output is processed with:
10  //  //
11  // unu reshape -i mip.txt -s 3 300 300 | unu quantize -b 8 -min 0 -max 1 -o derivs2.png  // unu reshape -i mip.txt -s 3 300 300 | unu quantize -b 8 -min 0 -max 1 -o derivs2.png
12  //  //
# Line 46  Line 46
46          //val = [|F0(p)-f|, |F0X(p)-f|, |F0Y(p)-f|];          //val = [|F0(p)-f|, |F0X(p)-f|, |F0Y(p)-f|];
47
48          // (2) These are magnitudes of the errors in the gradients          // (2) These are magnitudes of the errors in the gradients
49          //val = [|∇F(p)-g|, |∇FX(p)-g|, |∇FY(p)-g|];          val = [|∇F(p)-g|, |∇FX(p)-g|, |∇FY(p)-g|];
50
51          // (3) Magnitudes of errors in Hessians          // (3) Magnitudes of errors in Hessians
52          // The "/50.0" because of greater numerical error in the          // The "/50.0" because of greater numerical error in the

Legend:
 Removed from v.961 changed lines Added in v.981