WindowFunction.Multiply Method

Definition

Namespace: Numerics.NET.SignalProcessing
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

Multiply(Vector<Complex<Double>>) Applies the window to a complex vector.
Multiply(Vector<Double>) Applies the window to a vector.

Multiply(Vector<Complex<Double>>)

Applies the window to a complex vector.
C#
public virtual Vector<Complex<double>> Multiply(
	Vector<Complex<double>> signal
)

Parameters

signal  Vector<Complex<Double>>
A complex vector that contains the signal.

Return Value

Vector<Complex<Double>>
A complex vector that contains the product of signal with the window function.

Remarks

The length of the window function and the length of signal need not be the same. Components beyond the length of the window function are set to zero.

Exceptions

ArgumentNullException

signal is null.

Multiply(Vector<Double>)

Applies the window to a vector.
C#
public virtual Vector<double> Multiply(
	Vector<double> signal
)

Parameters

signal  Vector<Double>
A vector that contains the signal.

Return Value

Vector<Double>
A vector that contains the product of signal with the window function.

Remarks

The length of the window function and the length of signal need not be the same. Components beyond the length of the window function are set to zero.

Exceptions

ArgumentNullException

signal is null.

See Also