org.apache.commons.math3.analysis.polynomials
Class FourierSeriesApproximation
java.lang.Object
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
FourierSeriesApproximation
protected FourierSeriesApproximation(UnivariateFunction fun,
FourierSeries fou)
- Constructor. A holder for a
UnivariateFunction
and its approximated FourierSeries
- Parameters:
fun
- univariate real functionfou
- approximated fourier series
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.