flanagan.integration
Class Integration
java.lang.Object
flanagan.integration.Integration
public class Integration
- extends java.lang.Object
Method Summary |
double |
backward()
|
double |
backward(int nIntervals)
|
static double |
backward(IntegralFunction intFunc,
double lowerLimit,
double upperLimit,
int nIntervals)
|
static double |
foreward(IntegralFunction integralFunc,
double lowerLimit,
double upperLimit,
int nIntervals)
|
double |
forward()
|
double |
forward(int nIntervals)
|
static double |
forward(IntegralFunction integralFunc,
double lowerLimit,
double upperLimit,
int nIntervals)
|
double |
gaussQuad()
|
double |
gaussQuad(int glPoints)
|
static double |
gaussQuad(IntegralFunction intFunc,
double lowerLimit,
double upperLimit,
int glPoints)
|
static void |
gaussQuadCoeff(double[] gaussQuadDist,
double[] gaussQuadWeight,
int n)
|
double |
getIntegralSum()
|
static double |
getTrapAccuracy()
|
double |
getTrapeziumAccuracy()
|
int |
getTrapeziumIntervals()
|
static int |
getTrapIntervals()
|
void |
setGLpoints(int nPoints)
|
void |
setIntegrationFunction(IntegralFunction intFunc)
|
void |
setLimits(double lowerLimit,
double upperLimit)
|
void |
setlowerLimit(double lowerLimit)
|
void |
setLowerLimit(double lowerLimit)
|
void |
setNintervals(int nIntervals)
|
void |
setupperLimit(double upperLimit)
|
void |
setUpperLimit(double upperLimit)
|
double |
trapezium()
|
double |
trapezium(double accuracy,
int maxIntervals)
|
double |
trapezium(int nIntervals)
|
static double |
trapezium(IntegralFunction intFunc,
double lowerLimit,
double upperLimit,
double accuracy,
int maxIntervals)
|
static double |
trapezium(IntegralFunction intFunc,
double lowerLimit,
double upperLimit,
int nIntervals)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Integration
public Integration()
Integration
public Integration(IntegralFunction intFunc)
Integration
public Integration(IntegralFunction intFunc,
double lowerLimit,
double upperLimit)
setIntegrationFunction
public void setIntegrationFunction(IntegralFunction intFunc)
setLimits
public void setLimits(double lowerLimit,
double upperLimit)
setLowerLimit
public void setLowerLimit(double lowerLimit)
setlowerLimit
public void setlowerLimit(double lowerLimit)
setUpperLimit
public void setUpperLimit(double upperLimit)
setupperLimit
public void setupperLimit(double upperLimit)
setGLpoints
public void setGLpoints(int nPoints)
setNintervals
public void setNintervals(int nIntervals)
getIntegralSum
public double getIntegralSum()
gaussQuad
public double gaussQuad()
gaussQuad
public double gaussQuad(int glPoints)
gaussQuad
public static double gaussQuad(IntegralFunction intFunc,
double lowerLimit,
double upperLimit,
int glPoints)
gaussQuadCoeff
public static void gaussQuadCoeff(double[] gaussQuadDist,
double[] gaussQuadWeight,
int n)
trapezium
public double trapezium()
trapezium
public double trapezium(int nIntervals)
trapezium
public static double trapezium(IntegralFunction intFunc,
double lowerLimit,
double upperLimit,
int nIntervals)
trapezium
public double trapezium(double accuracy,
int maxIntervals)
trapezium
public static double trapezium(IntegralFunction intFunc,
double lowerLimit,
double upperLimit,
double accuracy,
int maxIntervals)
getTrapeziumIntervals
public int getTrapeziumIntervals()
getTrapIntervals
public static int getTrapIntervals()
getTrapeziumAccuracy
public double getTrapeziumAccuracy()
getTrapAccuracy
public static double getTrapAccuracy()
backward
public double backward()
backward
public double backward(int nIntervals)
backward
public static double backward(IntegralFunction intFunc,
double lowerLimit,
double upperLimit,
int nIntervals)
forward
public double forward()
forward
public double forward(int nIntervals)
forward
public static double forward(IntegralFunction integralFunc,
double lowerLimit,
double upperLimit,
int nIntervals)
foreward
public static double foreward(IntegralFunction integralFunc,
double lowerLimit,
double upperLimit,
int nIntervals)
jHepWork 2.1 (C) S.Chekanov