FPL Statistics Group
Quadrature (Numerical Integration) Java Package
Currently (as 2/12/03) this package contains only an unofficial
Java translation of the public domain
1-dimensional numerical integration routine Gaus8. Gaus8 was written
by R.E. Jones. It is part of the SLATEC library of public domain
numerical analysis routines. A FORTRAN version
of Gaus8 can be found by doing a search at
- This translation was performed by a user of numerical analysis
routines rather than a developer. When numerical integration routines
written in Java by professional
numerical analysts become
available, they should be used.
- I have tried to be careful with the coding and have done some
simple testing (see the Gaus8Test application).
However, it is quite possible that I have introduced
errors into the routine in the course of the translation. If you
detect bugs in Gaus8, PLEASE contact me
(Steve Verrill at firstname.lastname@example.org
DISCLAIMER OF WARRANTIES
THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.
THE AUTHOR/TRANSLATOR DOES NOT WARRANT, GUARANTEE OR MAKE ANY
REPRESENTATIONS REGARDING THE SOFTWARE OR DOCUMENTATION IN TERMS
OF THEIR CORRECTNESS, RELIABILITY, CURRENTNESS, OR OTHERWISE.
THE ENTIRE RISK AS TO THE RESULTS AND PERFORMANCE OF THE SOFTWARE
IS ASSUMED BY YOU. IN NO CASE WILL ANY PARTY INVOLVED WITH THE
CREATION OR DISTRIBUTION OF THE SOFTWARE BE LIABLE FOR ANY DAMAGE
THAT MAY RESULT FROM THE USE OF THIS SOFTWARE.
Sorry about that.
Here is the
documentation generated by
javadoc. Also see the source code of Gaus8.java.
The code is available in
Windows 95 zip,
and Windows 98 and later zip form.
Alternatively, the code comes in four files:
Given the manner in which the routines are currently written,
you will need to import them (see the beginning of
Gaus8Test.java). All of the classes
will have to be placed
in subdirectories of a directory in your CLASSPATH.
For the quadrature classes, this subdirectory will
have to be called quadrature.
will have to be placed in a
subdirectory called corejava.
Note that if you install the software in this manner,
then to run, for example, Gaus8Test you will have to issue the command:
Alternatively, you could remove the package and import statements
(other than import java.lang.*) in the source code,
and compile all of the necessary files in the same directory.
To run Gaus8 you will need to write a driver
class such as Gaus8Test that implements the Gaus8_fcn
interface. This class will have to include an f_to_integrate method.
Console.java is software described in Cornell
and Horstmann's Core Java (SunSoft Press/Prentice-Hall).
(I like this book.)
It may be used for non-commerical purposes. I
only make use of it in the testing routines.
If you have questions about this software,
or suggestions for improvement,
please contact me at
[FPL Statistics Group]
Last modified on 2/12/03.
As of last midnight, this page had been accessed