ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/loops/IntegrateGamma.java
(Generate patch)

Comparing jsr166/src/test/loops/IntegrateGamma.java (file contents):
Revision 1.7 by jsr166, Sun Oct 21 06:14:12 2012 UTC vs.
Revision 1.9 by jsr166, Thu Jan 15 18:34:19 2015 UTC

# Line 13 | Line 13 | import java.util.concurrent.*;
13   * <A href="http://www.cs.uga.edu/~dkl/filaments/dist.html"> Filaments</A>
14   * demo program.
15   */
16
16   public class IntegrateGamma {
17      /** for time conversion */
18      static final long NPS = (1000L * 1000 * 1000);
# Line 92 | Line 91 | public class IntegrateGamma {
91          }
92      }
93  
95
94      static class Integrator {
95          final Function f;      // The function to integrate
96          final double errorTolerance;
# Line 115 | Line 113 | public class IntegrateGamma {
113              return q.area;
114          }
115  
118
116          /**
117           * FJTask to recursively perform the quadrature.
118           * Algorithm:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines