de.torstennahm.integrate.quadratureformula
Class GaussLegendre
java.lang.Object
  
de.torstennahm.integrate.quadratureformula.AbstractCachedGenerator
      
de.torstennahm.integrate.quadratureformula.GaussLegendre
- All Implemented Interfaces: 
 - Generator
 
public class GaussLegendre
- extends AbstractCachedGenerator
 
This class generates the weights for the Gauss-Legendre quadrature formula.
 
 
 According to general Generator contract, this class is thread-safe.
- Author:
 
  - Torsten Nahm
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
GaussLegendre
public GaussLegendre()
maxLevel
public int maxLevel()
- Description copied from interface: 
Generator 
- Returns the maximum argument supported by 
getByLevel.
- Returns:
 - maximum level, or -1 for no maximum
 
 
 
maxNodes
public int maxNodes()
- Description copied from interface: 
Generator 
- Returns the maximum argument supported by 
getByNodes.
- Returns:
 - maximum number of nodes, or -1 for no maximum
 
 
 
generateByLevel
public QuadratureFormula generateByLevel(int levelRequested)
- Specified by:
 generateByLevel in class AbstractCachedGenerator
 
 
generateByNodes
public QuadratureFormula generateByNodes(int nodesRequested)
- Specified by:
 generateByNodes in class AbstractCachedGenerator
 
 
toString
public java.lang.String toString()
- Overrides:
 toString in class java.lang.Object