|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.analysis.integration.univariate.Lebesgue
public class Lebesgue
Lebesgue integration is the general theory of integration of a function with respect to a general measure.
This implementation defines an Lebesgue integral as a dot product between the integrand (f) and the measure (dμ).
/ /
| f dμ = | f(x) μd(x) ≈ Σ f(x) μd(x)
/ /
| Constructor Summary | |
|---|---|
Lebesgue()
Construct an empty Lebesgue integral. |
|
Lebesgue(double[] fx,
double[] du)
Construct a Lebesgue integral. |
|
| Method Summary | |
|---|---|
void |
setIntegrand(double[] fx)
Set the integrand values for the discretized subsets. |
void |
setMeasure(double[] du)
Set the measure values for the discretized subsets. |
double |
value()
Compute the integral value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Lebesgue()
public Lebesgue(double[] fx,
double[] du)
fx - the integranddu - the measure| Method Detail |
|---|
public void setIntegrand(double[] fx)
fx - the integrand valuespublic void setMeasure(double[] du)
du - the measure valuespublic double value()
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||