Signal Math.Apply Blackman Harris Window Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0
Overload List
| Apply | Applies a Blackman-Harris window to a real-valued vector. |
| Apply | Applies a Blackman-Harris window to a complex-valued vector. |
| Apply | Applies a Blackman-Harris window to real values. |
| Apply | Applies a Blackman-Harris window to complex values. |
ApplyBlackmanHarrisWindow<T>(Vector<T>, Vector<T>)
Applies a Blackman-Harris window to a real-valued vector.
public static void ApplyBlackmanHarrisWindow<T>(
Vector<T> values,
Vector<T> result
)
Parameters
Type Parameters
- T
- The element type (double or float).
Exceptions
| Argument | Thrown when values or result is null. |
| Argument | Thrown when the vector lengths do not match. |
ApplyBlackmanHarrisWindow<T>(Vector<Complex<T>>, Vector<Complex<T>>)
Applies a Blackman-Harris window to a complex-valued vector.
public static void ApplyBlackmanHarrisWindow<T>(
Vector<Complex<T>> values,
Vector<Complex<T>> result
)
Parameters
- values Vector<Complex<T>>
- The input vector.
- result Vector<Complex<T>>
- The output vector to hold windowed values.
Type Parameters
- T
- The element type (double or float).
Exceptions
| Argument | Thrown when values or result is null. |
| Argument | Thrown when the vector lengths do not match. |
ApplyBlackmanHarrisWindow<T>(ReadOnlySpan<T>, Int32, Span<T>, Int32)
Applies a Blackman-Harris window to real values.
public static void ApplyBlackmanHarrisWindow<T>(
ReadOnlySpan<T> values,
int valuesStride,
Span<T> result,
int resultStride
)
Parameters
- values ReadOnlySpan<T>
- The span of input values.
- valuesStride Int32
- The stride between successive elements in values.
- result Span<T>
- The span to hold the windowed values.
- resultStride Int32
- The stride between successive elements in result.
Type Parameters
- T
- The element type (double or float).
ApplyBlackmanHarrisWindow<T>(ReadOnlySpan<Complex<T>>, Int32, Span<Complex<T>>, Int32)
Applies a Blackman-Harris window to complex values.
public static void ApplyBlackmanHarrisWindow<T>(
ReadOnlySpan<Complex<T>> values,
int valuesStride,
Span<Complex<T>> result,
int resultStride
)
Parameters
- values ReadOnlySpan<Complex<T>>
- The span of input complex values.
- valuesStride Int32
- The stride between successive elements in values.
- result Span<Complex<T>>
- The span to hold the windowed complex values.
- resultStride Int32
- The stride between successive elements in result.
Type Parameters
- T
- The element type (double or float).