numericalMethods.function.util
Class AbstractValueCacher

numericalMethods.function.util.AbstractValueCacher
All Implemented Interfaces:
java.io.Serializable

public abstract class AbstractValueCacher
implements java.io.Serializable

See Also:
Serialized Form

Inner Class Summary
(package private) static class AbstractValueCacher.Key
           
 
Field Summary
(package private)  int doubleArrayValueLength
           
(package private)  numericalMethods.function.DoubleParametrized doubleParametrized
           
(package private)  double eps
           
(package private)  AbstractValueCacher.Key firstInCach
           
(package private)  AbstractValueCacher.Key firstKey
           
(package private)  AbstractValueCacher.Key lastInCach
           
(package private)  AbstractValueCacher.Key lastKey
           
(package private)  int numOfKeys
           
(package private)  AbstractValueCacher.Key stateKey
           
(package private)  double stateT
           
(package private)  double t
           
 
Constructor Summary
AbstractValueCacher(int doubleArrayValueLength)
           
 
Method Summary
 void add(AbstractValueCacher.Key newKey)
           
 void add(double s, double[] v, int offset)
           
 void clear()
           
protected  void finalize()
           
 void freeUnusedKeys()
           
 double getEps()
           
 AbstractValueCacher.Key getNearestKey(double t)
           
 void getNearestValue(double t, double[] w, int offset)
           
(package private)  AbstractValueCacher.Key getNewKey()
           
 void setDoubleArrayValueLength(int doubleArrayValueLength)
           
 void setDoubleParameter(double p)
           
 void setEps(double eps)
           
 

Field Detail

doubleArrayValueLength

int doubleArrayValueLength

lastKey

AbstractValueCacher.Key lastKey

lastInCach

AbstractValueCacher.Key lastInCach

firstKey

AbstractValueCacher.Key firstKey

firstInCach

AbstractValueCacher.Key firstInCach

stateKey

AbstractValueCacher.Key stateKey

numOfKeys

int numOfKeys

doubleParametrized

numericalMethods.function.DoubleParametrized doubleParametrized

t

double t

stateT

double stateT

eps

double eps
Constructor Detail

AbstractValueCacher

public AbstractValueCacher(int doubleArrayValueLength)
Method Detail

setDoubleArrayValueLength

public void setDoubleArrayValueLength(int doubleArrayValueLength)

finalize

protected void finalize()
                 throws java.lang.Throwable

getEps

public double getEps()

setEps

public void setEps(double eps)

setDoubleParameter

public void setDoubleParameter(double p)

freeUnusedKeys

public void freeUnusedKeys()

clear

public void clear()

getNewKey

AbstractValueCacher.Key getNewKey()

add

public void add(double s,
                double[] v,
                int offset)

add

public void add(AbstractValueCacher.Key newKey)

getNearestValue

public void getNearestValue(double t,
                            double[] w,
                            int offset)

getNearestKey

public AbstractValueCacher.Key getNearestKey(double t)