Module ojalgo

Class FourierSeries

java.lang.Object
org.ojalgo.function.series.FourierSeries
All Implemented Interfaces:
DoubleUnaryOperator, Function<Double,Double>, UnaryOperator<Double>, BasicFunction, PrimitiveFunction.Unary, UnaryFunction<Double>

public class FourierSeries extends Object implements PrimitiveFunction.Unary
This is the real coefficient trigonometric form of the Fourier series.
  • Constructor Details

    • FourierSeries

      public FourierSeries(double period, ComplexNumber... coefficients)
      Parameters:
      period - The period of the function
      coefficients - The Fourier coefficients. The first coefficient is the constant term (the real part of that complex number), then the following coefficients are the coefficients of the cos and sin terms with increasing frequency.
  • Method Details