org.apache.commons.math3.analysis.polynomials
Class FourierSeriesApproximation

java.lang.Object
  extended by org.apache.commons.math3.analysis.polynomials.FourierSeriesApproximation
All Implemented Interfaces:
Serializable

public class FourierSeriesApproximation
extends Object
implements Serializable

Holder for a UnivariateFunction and its FourierSeries approximation

Since:
1.2
Version:
$Id: FourierSeriesApproximation.java 4761 2012-05-23 15:03:29Z HoudrogeR $
Author:
Rami Houdroge
See Also:
FourierDecompositionEngine, Serialized Form
Concurrency :
immutable if function is immutable

Constructor Summary
protected FourierSeriesApproximation(UnivariateFunction fun, FourierSeries fou)
          Constructor.
 
Method Summary
 FourierSeries getFourier()
           
 UnivariateFunction getFunction()
           
 double getPeriod()
           
 String toString()
          Get String representation of Fourier Series
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FourierSeriesApproximation

protected FourierSeriesApproximation(UnivariateFunction fun,
                                     FourierSeries fou)
Constructor. A holder for a UnivariateFunction and its approximated FourierSeries

Parameters:
fun - univariate real function
fou - approximated fourier series
Method Detail

getFunction

public UnivariateFunction getFunction()
Returns:
the function

getFourier

public FourierSeries getFourier()
Returns:
the fourier series approximation

getPeriod

public double getPeriod()
Returns:
period of functions

toString

public String toString()
Get String representation of Fourier Series

Overrides:
toString in class Object
Returns:
string


Copyright © 2016 CNES. All Rights Reserved.