WindowFunction Constructor

Constructs a new window function.

Definition

Namespace: Extreme.Mathematics.SignalProcessing
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public WindowFunction(
	int length,
	Func<int, double> coefficientFunction,
	WindowSampling sampling
)

Parameters

length  Int32
The length of the window.
coefficientFunction  Func<Int32, Double>
A delegate that represents a function of one variable that returns the value of each component of the window.
sampling  WindowSampling
A WindowSampling value that indicates whether the filter is symmetrical or periodic.

Exceptions

ArgumentOutOfRangeExceptionlength is less than or equal to zero.
ArgumentNullExceptioncoefficientFunction is null.

See Also