numericalMethods.calculus.integration
Class OdeSolverBasedIntegrator

java.lang.Object
  |
  +--numericalMethods.calculus.integration.OdeSolverBasedIntegrator
All Implemented Interfaces:
java.lang.Cloneable, DoubleArrayValuedIntegrator, java.io.Serializable
Direct Known Subclasses:
BulirschStoerIntegrator, ExtrapIntegrator, RungeKuttaFehlbergIntegrator

public abstract class OdeSolverBasedIntegrator
extends java.lang.Object
implements DoubleArrayValuedIntegrator, java.io.Serializable, java.lang.Cloneable

See Also:
Serialized Form

Field Summary
(package private)  DoubleArrayValueCacher cacher
           
(package private)  boolean cachValues
           
(package private)  numericalMethods.function.DoubleArrayValued doubleArrayValued
           
(package private)  int doubleArrayValueLength
           
(package private)  numericalMethods.function.DoubleParametrized doubleParametrized
           
(package private)  double[] I
           
(package private)  OdeSolver odeSolver
           
protected  java.beans.PropertyChangeSupport propertyChangeSupport
           
(package private)  numericalMethods.calculus.integration.OdeSolverBasedIntegrator.WraperFunction wf
           
 
Constructor Summary
OdeSolverBasedIntegrator(OdeSolver odeSolver)
           
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void firePropertyChange(java.lang.String propertyName)
           
 void firePropertyChange(java.lang.String propertyName, java.lang.Object newValue, java.lang.Object oldValue)
           
 boolean getCachValues()
           
 int getDoubleArrayValueLength()
           
 void getIntegral(double[] integral, int offset)
           
 OdeSolver getOdeSolver()
           
 void integrate(numericalMethods.function.DoubleParametrized doubleParametrized, numericalMethods.function.DoubleArrayValued doubleArrayValued, double start, double end, double[] integral)
           
 void integrate(numericalMethods.function.DoubleParametrized doubleParametrized, numericalMethods.function.DoubleArrayValued doubleArrayValued, double start, double end, double[] integral, int offset)
           
 void integrateTo(double b)
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void setCachValues(boolean cachValues)
           
 void setDoubleArrayValueLength(int doubleArrayValueLength)
           
 void setFunction(numericalMethods.function.DoubleParametrized doubleParametrized, numericalMethods.function.DoubleArrayValued doubleArrayValued)
           
 void startAt(double a)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

doubleArrayValueLength

int doubleArrayValueLength

cachValues

boolean cachValues

doubleParametrized

numericalMethods.function.DoubleParametrized doubleParametrized

doubleArrayValued

numericalMethods.function.DoubleArrayValued doubleArrayValued

odeSolver

OdeSolver odeSolver

cacher

DoubleArrayValueCacher cacher

wf

numericalMethods.calculus.integration.OdeSolverBasedIntegrator.WraperFunction wf

I

double[] I

propertyChangeSupport

protected java.beans.PropertyChangeSupport propertyChangeSupport
Constructor Detail

OdeSolverBasedIntegrator

public OdeSolverBasedIntegrator(OdeSolver odeSolver)
Method Detail

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)

firePropertyChange

public void firePropertyChange(java.lang.String propertyName)

firePropertyChange

public void firePropertyChange(java.lang.String propertyName,
                               java.lang.Object newValue,
                               java.lang.Object oldValue)

getCachValues

public boolean getCachValues()

setCachValues

public void setCachValues(boolean cachValues)

getOdeSolver

public OdeSolver getOdeSolver()

getDoubleArrayValueLength

public int getDoubleArrayValueLength()
Specified by:
getDoubleArrayValueLength in interface DoubleArrayValuedIntegrator

setDoubleArrayValueLength

public void setDoubleArrayValueLength(int doubleArrayValueLength)
Specified by:
setDoubleArrayValueLength in interface DoubleArrayValuedIntegrator

setFunction

public void setFunction(numericalMethods.function.DoubleParametrized doubleParametrized,
                        numericalMethods.function.DoubleArrayValued doubleArrayValued)
Specified by:
setFunction in interface DoubleArrayValuedIntegrator

startAt

public void startAt(double a)
Specified by:
startAt in interface DoubleArrayValuedIntegrator

integrateTo

public void integrateTo(double b)
Specified by:
integrateTo in interface DoubleArrayValuedIntegrator

getIntegral

public void getIntegral(double[] integral,
                        int offset)
Specified by:
getIntegral in interface DoubleArrayValuedIntegrator

integrate

public void integrate(numericalMethods.function.DoubleParametrized doubleParametrized,
                      numericalMethods.function.DoubleArrayValued doubleArrayValued,
                      double start,
                      double end,
                      double[] integral)
Specified by:
integrate in interface DoubleArrayValuedIntegrator

integrate

public void integrate(numericalMethods.function.DoubleParametrized doubleParametrized,
                      numericalMethods.function.DoubleArrayValued doubleArrayValued,
                      double start,
                      double end,
                      double[] integral,
                      int offset)
Specified by:
integrate in interface DoubleArrayValuedIntegrator