8 |
|
import java.util.concurrent.*; |
9 |
|
|
10 |
|
/** |
11 |
< |
* Sample program using Guassian Quadrature for numerical integration. |
11 |
> |
* Sample program using Gaussian Quadrature for numerical integration. |
12 |
|
* This version uses a simplified hardwired function. Inspired by a |
13 |
|
* <A href="http://www.cs.uga.edu/~dkl/filaments/dist.html"> |
14 |
|
* Filaments</A> demo program. |
15 |
– |
* |
15 |
|
*/ |
16 |
|
public final class Integrate { |
17 |
|
|
54 |
|
} |
55 |
|
} |
56 |
|
catch (Exception e) { |
57 |
< |
System.out.println("Usage: java Integrate3 threads <s[erial] | d[ynamic] | f[ork] - default d>"); |
57 |
> |
System.out.println("Usage: java Integrate threads <s[erial] | d[ynamic] | f[ork] - default d>"); |
58 |
|
return; |
59 |
|
} |
60 |
|
|