SignalMath.ApplyGaussianWindowInPlace Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0

Overload List

ApplyGaussianWindowInPlace<T>(Vector<T>, T) Applies a Gaussian window to a real-valued vector in place.
ApplyGaussianWindowInPlace<T>(Vector<Complex<T>>, T) Applies a Gaussian window to a complex-valued vector in place.
ApplyGaussianWindowInPlace<T>(Span<T>, Int32, T) Applies a Gaussian window to real values in place.
ApplyGaussianWindowInPlace<T>(Span<Complex<T>>, Int32, T) Applies a Gaussian window to complex values in place.

ApplyGaussianWindowInPlace<T>(Vector<T>, T)

Applies a Gaussian window to a real-valued vector in place.
C#
public static void ApplyGaussianWindowInPlace<T>(
	Vector<T> values,
	T sigma
)

Parameters

values  Vector<T>
The vector to window in place.
sigma  T
The Gaussian window sigma parameter.

Type Parameters

T
The element type (double or float).

Exceptions

ArgumentNullExceptionThrown when values is null.

ApplyGaussianWindowInPlace<T>(Vector<Complex<T>>, T)

Applies a Gaussian window to a complex-valued vector in place.
C#
public static void ApplyGaussianWindowInPlace<T>(
	Vector<Complex<T>> values,
	T sigma
)

Parameters

values  Vector<Complex<T>>
The vector to window in place.
sigma  T
The Gaussian window sigma parameter.

Type Parameters

T
The element type (double or float).

Exceptions

ArgumentNullExceptionThrown when values is null.

ApplyGaussianWindowInPlace<T>(Span<T>, Int32, T)

Applies a Gaussian window to real values in place.
C#
public static void ApplyGaussianWindowInPlace<T>(
	Span<T> values,
	int valuesStride,
	T sigma
)

Parameters

values  Span<T>
The span of values to window.
valuesStride  Int32
The stride between successive elements in values.
sigma  T
The Gaussian window sigma parameter (standard deviation).

Type Parameters

T
The element type (double or float).

ApplyGaussianWindowInPlace<T>(Span<Complex<T>>, Int32, T)

Applies a Gaussian window to complex values in place.
C#
public static void ApplyGaussianWindowInPlace<T>(
	Span<Complex<T>> values,
	int valuesStride,
	T sigma
)

Parameters

values  Span<Complex<T>>
The span of complex values to window.
valuesStride  Int32
The stride between successive elements in values.
sigma  T
The Gaussian window sigma parameter (standard deviation).

Type Parameters

T
The element type (double or float).

See Also