|
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.riemann.substitution.Substitution
com.numericalmethod.suanshu.analysis.integration.univariate.riemann.substitution.PowerLawSingularity
public class PowerLawSingularity
This transformation is good for an integral which diverges at one of the end points.
For singularity at the lower limit, we have (x - a)-γ diverging,
near x = a,
0 ≤ γ < 1.
/b /(b-a)1-γ 1
| f(x) dx = | ----- tγ/(1-γ)f(t1/(1-γ) + a)dt, b > a
/a /0 1-γ
For singularity at the upper limit, we have (x - b)-γ diverging,
near x = b,
0 ≤ γ < 1.
/b /(b-a)1-γ 1
| f(x) dx = | ----- tγ/(1-γ)f(b - t1/(1-γ))dt, b > a
/a /0 1-γ
A common case is when γ = 0.5.
| Nested Class Summary | |
|---|---|
static class |
PowerLawSingularity.Type
the type of end point divergence |
| Field Summary | |
|---|---|
double |
a
the lower limit |
double |
b
the upper limit |
double |
gamma
gamma |
PowerLawSingularity.Type |
type
|
| Fields inherited from class com.numericalmethod.suanshu.analysis.integration.univariate.riemann.substitution.Substitution |
|---|
dx, x |
| Constructor Summary | |
|---|---|
PowerLawSingularity(PowerLawSingularity.Type type,
double gamma,
double a,
double b)
Construct an instance of the PowerLawSingularity substitution rule. |
|
| Method Summary | |
|---|---|
double |
ta()
Get the lower limit of the integral. |
double |
tb()
Get the upper limit of the integral. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final PowerLawSingularity.Type type
public final double gamma
public final double a
public final double b
| Constructor Detail |
|---|
public PowerLawSingularity(PowerLawSingularity.Type type,
double gamma,
double a,
double b)
type - the type of end point divergencegamma - γ, the exponentiala - the lower limitb - the upper limit| Method Detail |
|---|
public double ta()
Substitution
ta in class Substitutionpublic double tb()
Substitution
tb in class Substitution
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||