|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.torstennahm.integrate.quadratureformula.AbstractCachedGenerator de.torstennahm.integrate.quadratureformula.GaussHermite
public class GaussHermite
Generates the Gauss-Hermite quadrature formula. The quadrature formulas approximate a Gaussian distribution on the real numbers with the specified sigma.
The quadrature formula is calculated using an iterative approximation.
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 | |
---|---|
GaussHermite()
Constructs the generator for the Gaussian distribution with sigma equal to sqrt(2). |
|
GaussHermite(double sigma)
Constructs the generator for the Gaussian distribution with the specified sigma. |
Method Summary | |
---|---|
protected QuadratureFormula |
generateByLevel(int levelRequested)
|
protected QuadratureFormula |
generateByNodes(int nodesRequested)
|
int |
maxLevel()
Returns the maximum argument supported by getByLevel . |
int |
maxNodes()
Returns the maximum argument supported by getByNodes . |
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 GaussHermite()
public GaussHermite(double sigma)
sigma
- sigma of the requested Gaussian distributionMethod Detail |
---|
public int maxLevel()
Generator
getByLevel
.
public int maxNodes()
Generator
getByNodes
.
protected QuadratureFormula generateByLevel(int levelRequested)
generateByLevel
in class AbstractCachedGenerator
protected QuadratureFormula generateByNodes(int nodesRequested)
generateByNodes
in class AbstractCachedGenerator
public 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 |