public class DataQuad extends java.lang.Object implements QuadratureAlgorithm
Constructor and Description |
---|
DataQuad(DblMatrix Y)
Integrate Y assuming X has unit spacing.
|
DataQuad(DblMatrix X,
DblMatrix Y)
Integrate Y given the abscissae in X.
|
DataQuad(DblMatrix X,
DblMatrix Y,
DblMatrix L,
DblMatrix U)
Integrate function from the upper to the lower limit of integration.
|
DataQuad(DblMatrix X,
DblMatrix Y,
double L,
double U)
Integrate function from the upper to the lower limit of integration.
|
DataQuad(DblMatrix X,
DblMatrix Y,
int L,
int U)
Integrate data from the upper to the lower limit of integration.
|
DataQuad(PointWiseQuadratureAlgorithm Alg)
Constructor useful when user wants to use a non-default algorithm.
|
Modifier and Type | Method and Description |
---|---|
PointWiseQuadratureAlgorithm |
getAlgorithm() |
DblMatrix |
getIntegral()
Get the integral
|
DblMatrix |
getLowerLimit()
Get the lower limit of integration.
|
DblMatrix |
getUpperLimit()
Get the upper limit of integration.
|
void |
setAlgorithm(PointWiseQuadratureAlgorithm X) |
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 DataQuad(PointWiseQuadratureAlgorithm Alg)
public DataQuad(DblMatrix Y)
public DataQuad(DblMatrix X, DblMatrix Y, int L, int U)
public DataQuad(DblMatrix X, DblMatrix Y, double L, double U)
public PointWiseQuadratureAlgorithm getAlgorithm()
public void setAlgorithm(PointWiseQuadratureAlgorithm X)
public void setUpperLimit(int uu)
public void setUpperLimit(double uu)
public void setLowerLimit(double ll)
public void setLowerLimit(int ll)
public DblMatrix getIntegral()
getIntegral
in interface QuadratureAlgorithm
public void setUpperLimit(DblMatrix U)
setUpperLimit
in interface QuadratureAlgorithm
public DblMatrix getUpperLimit()
getUpperLimit
in interface QuadratureAlgorithm
public void setLowerLimit(DblMatrix L)
setLowerLimit
in interface QuadratureAlgorithm
public DblMatrix getLowerLimit()
getLowerLimit
in interface QuadratureAlgorithm
Copyright © 2011, 2013. Daniel P. Dougherty