public class FunQuad extends java.lang.Object implements QuadratureAlgorithm
| Constructor and Description |
|---|
FunQuad(AbstractFunction FUN,
DblMatrix L,
DblMatrix U)
Integrate function from the upper to the lower limit of integration.
|
FunQuad(AbstractFunction FUN,
double L,
double U)
Integrate function from the upper to the lower limit of integration.
|
FunQuad(AbstractFunction FUN,
int L,
int U)
Integrate function from the upper to the lower limit of integration.
|
FunQuad(AnalyticQuadratureAlgorithm Alg)
Constructor useful when the user wants to use a non-default algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
AnalyticQuadratureAlgorithm |
getAlgorithm() |
AbstractFunction |
getFunction()
Get the function being integrated.
|
DblMatrix |
getIntegral()
Get the integral
|
DblMatrix |
getLowerLimit()
Get the lower limit of integration.
|
DblMatrix |
getUpperLimit()
Get the upper limit of integration.
|
void |
setAlgorithm(AnalyticQuadratureAlgorithm X) |
void |
setFunction(AbstractFunction F)
Set the function being integrated.
|
void |
setLowerLimit(DblMatrix L)
Set the lower limit of integration.
|
void |
setLowerLimit(double ll)
Set the lower limit of integration.
|
void |
setLowerLimit(int ll)
Set the lower limit of integration.
|
void |
setUpperLimit(DblMatrix U)
Set the upper limit of integration.
|
void |
setUpperLimit(double uu)
Set the upper limit of integration.
|
void |
setUpperLimit(int uu)
Set the upper limit of integration.
|
public FunQuad(AnalyticQuadratureAlgorithm Alg)
public FunQuad(AbstractFunction FUN, int L, int U)
public FunQuad(AbstractFunction FUN, double L, double U)
public FunQuad(AbstractFunction FUN, DblMatrix L, DblMatrix U)
public AnalyticQuadratureAlgorithm getAlgorithm()
public void setAlgorithm(AnalyticQuadratureAlgorithm X)
public void setUpperLimit(int uu)
public void setUpperLimit(double uu)
public void setLowerLimit(double ll)
public void setLowerLimit(int ll)
public void setFunction(AbstractFunction F)
public AbstractFunction getFunction()
public DblMatrix getIntegral()
getIntegral in interface QuadratureAlgorithmpublic void setUpperLimit(DblMatrix U)
setUpperLimit in interface QuadratureAlgorithmpublic DblMatrix getUpperLimit()
getUpperLimit in interface QuadratureAlgorithmpublic void setLowerLimit(DblMatrix L)
setLowerLimit in interface QuadratureAlgorithmpublic DblMatrix getLowerLimit()
getLowerLimit in interface QuadratureAlgorithmCopyright © 2011, 2013. Daniel P. Dougherty