Window Functions.Rectangular Method
Definition
Namespace: Numerics.NET.SignalProcessing
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0
Overload List
| Rectangular( | Returns a rectangular window function of the specified length. |
| Rectangular<T>(Int32) | Returns a rectangular window function of the specified length. |
Rectangular(Int32)
Returns a rectangular window function of the specified length.
public static WindowFunction Rectangular(
int length
)Parameters
- length Int32
- The length of the window.
Return Value
WindowFunctionA WindowFunction object that represents a rectangular window of length length, normalized so the largest value is 1.
Exceptions
| Argument | length is less than or equal to zero. |
Rectangular<T>(Int32)
Returns a rectangular window function of the specified length.
public static WindowFunction<T> Rectangular<T>(
int length
)
Parameters
- length Int32
- The length of the window.
Type Parameters
- T
Return Value
WindowFunction<T>A WindowFunction<T> object that represents a rectangular window of length length, normalized so the largest value is 1.
Exceptions
| Argument | length is less than or equal to zero. |