# | 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: |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |