Window Function Constructor
Constructs a new window function.
Definition
Namespace: Numerics.NET.SignalProcessing
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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
Argument | length is less than or equal to zero. |
Argument | coefficientFunction is null. |