|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.torstennahm.integrate.quadratureformula.AbstractCachedGenerator
de.torstennahm.integrate.quadratureformula.DeltaGenerator
public class DeltaGenerator
This generator takes an underlying quadrature formula generator,
producing a corresponding generator for delta integration.
Let wrapped be the underlying generator.
Then, for or a given level l, this.getByLevel(l) will return
a quadrature formula representing the difference between wrapped.getByLevel(l)
minus wrapped.getByLevel(l-1).
In the special case of l equals 0, wrapped.getByLevel(0) is
returned.
The DeltaWrapper generator supports only the getByLevel method,
as the getByNodes method does not make sense for delta integration.
According to general Generator contract, this class is thread-safe.
| Field Summary |
|---|
| Fields inherited from class de.torstennahm.integrate.quadratureformula.AbstractCachedGenerator |
|---|
levelCache, weightsCache |
| Constructor Summary | |
|---|---|
DeltaGenerator(Generator generator)
Creates the DeltaGenerator. |
|
| Method Summary | |
|---|---|
QuadratureFormula |
generateByLevel(int level)
Returns the quadrature formula representing the difference between quadrature formula produced by the underlying generator for the specified level and the specified level minus 1. |
QuadratureFormula |
generateByNodes(int nodesRequested)
This method is not supported, as delta integration only makes sense between successive levels of quadrature formulas. |
int |
maxLevel()
Returns the maximum argument supported by getByLevel. |
int |
maxNodes()
This method is not supported, as delta integration only makes sense between successive levels of quadrature formulas. |
java.lang.String |
toString()
|
| Methods inherited from class de.torstennahm.integrate.quadratureformula.AbstractCachedGenerator |
|---|
getByLevel, getByNodes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DeltaGenerator(Generator generator)
DeltaGenerator.
generator - generator for which the delta quadrature formula are to be calculated| Method Detail |
|---|
public int maxLevel()
GeneratorgetByLevel.
public QuadratureFormula generateByNodes(int nodesRequested)
generateByNodes in class AbstractCachedGeneratorjava.lang.UnsupportedOperationExceptionpublic int maxNodes()
java.lang.UnsupportedOperationExceptionpublic QuadratureFormula generateByLevel(int level)
level is 0,
the unmodified weights for level 0 are returned.
generateByLevel in class AbstractCachedGeneratorpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||