vec_math
Class LeastFourier.FourierAmoeba

java.lang.Object
  extended by vec_math.Amoeba
      extended by vec_math.LeastFourier.FourierAmoeba
Enclosing class:
LeastFourier

protected class LeastFourier.FourierAmoeba
extends Amoeba

An amoeba for solving least-squares to fourier series.


Nested Class Summary
 
Nested classes/interfaces inherited from class vec_math.Amoeba
Amoeba.Test
 
Field Summary
 
Fields inherited from class vec_math.Amoeba
DEFCRAWL, DEFDIMCRAWL, DEFMAXCRAWL, DEFTOLERANCE
 
Constructor Summary
protected LeastFourier.FourierAmoeba(Vector2D[] measures, int order)
          We call the super-constructor without arguments and then construct the Multidimensional for minimization out of the measures and the order.
 
Method Summary
protected  void previousFit(VectorG old)
          We estimate a first solution by calculating remainder of the fit minus the last fit, which has a handle for amplitude estimation.
 
Methods inherited from class vec_math.Amoeba
crawl, crawl, estimateStart, estimateStart, getApproximation, getClosestPoint, getFunction, getSimplex, getSimplexValue, getSmallestArgument, getSmallestDecrease, getSmallestValue, setFunction, setNoiseLevel, setStart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeastFourier.FourierAmoeba

protected LeastFourier.FourierAmoeba(Vector2D[] measures,
                                     int order)
We call the super-constructor without arguments and then construct the Multidimensional for minimization out of the measures and the order. Starting values are estimated in previousFit(vec_math.VectorG).

Method Detail

previousFit

protected void previousFit(VectorG old)
We estimate a first solution by calculating remainder of the fit minus the last fit, which has a handle for amplitude estimation.