FourierFrequency

References
public sealed class FourierFrequency : IStorable
A single element in a Fourier frequency space.

Constructors

FourierFrequency

#
public FourierFrequency(double frequency, double amplitude, double phase)
Create a new frequency element.
frequency (double)
amplitude (double)
phase (double)

FourierFrequency

#
public FourierFrequency(IReader reader)
reader (IReader)

Properties

Amplitude

#
public double Amplitude { get; }
Gets the amplitude for this frequency.

Frequency

#
public double Frequency { get; }
Gets the intrinsic frequency.

IsZero

#
public bool IsZero { get; }
Gets whether this frequency is considered zero.

Normalised

#
public double Normalised { get; }
Gets the normalised frequency (the intrinsic frequency multiplied by 2pi).

Phase

#
public double Phase { get; }
Gets the phase offset for this frequency.

Methods

Contribution

#
public double Contribution(double x)
Evaluate the contribution of this element to the total value.
x (double)Parameter.
Contribution at x.

Derivative

#
public double Derivative(double x)
Evaluate the derivative of the contribution of this element to the total value.
x (double)Parameter.
Derivative at x.

Store

#
public void Store(IWriter writer)
writer (IWriter)
Store