ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cal/cal/root.cal
(Generate patch)

Comparing ray/src/cal/cal/root.cal (file contents):
Revision 1.2 by greg, Sat Sep 4 19:26:09 2010 UTC vs.
Revision 1.3 by greg, Tue Oct 11 15:40:54 2011 UTC

# Line 5 | Line 5
5          2/3/88
6   }
7  
8 < FTINY : 1e-12;
8 > FTINY : 1e-9;
9  
10   root(f, x0) = root2(f, x0, x0-f(x0)/lim(f1(f,x0)), nit);
11  
# Line 21 | Line 21 | max(a,b) = if(a-b, a, b);
21  
22   f1(f,x) = (f(x+FTINY)-f(x-FTINY))/(2*FTINY);    { numerical derivative }
23  
24 < err = 1e-6;
24 > err = 1e-5;
25   nit = 100;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines