|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectnumRecipes.Integration
public class Integration
Utilities for Numerical Integration. Some of them are based on the Numerical Recipes Library. The interface class Function is required to call the member in this class
Constructor Summary | |
---|---|
Integration()
|
Method Summary | |
---|---|
static void |
initializeStaticVariables()
Initialize the static variables such as grandSum. |
static double |
iterateTrapzd(Function func,
int functionIndex,
double[] parameters,
double lowerBound,
double upperBound,
int iterationTimes)
Iterated Trapzd integraion method. |
static double |
RombergIntegral(Function func,
int functionIndex,
double[] parameters,
double lowerBound,
double upperBound)
The Romberg method. |
static void |
setRelativeAccuracy(double epsilon)
Change the relative accuracy in the inegration |
static double |
trapzd(Function func,
int functionIndex,
double[] parameters,
double lowerBound,
double upperBound,
int iterationTimes)
Trapzd integraion method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Integration()
Method Detail |
---|
public static double trapzd(Function func, int functionIndex, double[] parameters, double lowerBound, double upperBound, int iterationTimes)
public static double iterateTrapzd(Function func, int functionIndex, double[] parameters, double lowerBound, double upperBound, int iterationTimes)
public static double RombergIntegral(Function func, int functionIndex, double[] parameters, double lowerBound, double upperBound)
public static void initializeStaticVariables()
public static void setRelativeAccuracy(double epsilon)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |