KernelProcessor<T>.AutoCorrelate Method

Definition

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

Overload List

AutoCorrelate(Vector<T>) Computes the autocorrelation of a vector (allocating).
AutoCorrelate(ReadOnlySpan<T>, Span<T>) Computes the autocorrelation of a signal.
AutoCorrelate(Vector<T>, Vector<T>) Computes the autocorrelation of a vector (non-allocating).
AutoCorrelate(Int32, ReadOnlySpan<T>, Int32, Int32, Span<T>, Int32) Computes the autocorrelation of a signal.

AutoCorrelate(Vector<T>)

Computes the autocorrelation of a vector (allocating).
C#
public Vector<T> AutoCorrelate(
	Vector<T> signal
)

Parameters

signal  Vector<T>
The input signal vector.

Return Value

Vector<T>
A vector containing the autocorrelation result.

AutoCorrelate(ReadOnlySpan<T>, Span<T>)

Computes the autocorrelation of a signal.
C#
public void AutoCorrelate(
	ReadOnlySpan<T> signal,
	Span<T> result
)

Parameters

signal  ReadOnlySpan<T>
The input signal.
result  Span<T>
The output span to hold the autocorrelation result.

AutoCorrelate(Vector<T>, Vector<T>)

Computes the autocorrelation of a vector (non-allocating).
C#
public void AutoCorrelate(
	Vector<T> signal,
	Vector<T> output
)

Parameters

signal  Vector<T>
The input signal vector.
output  Vector<T>
The output vector to hold the autocorrelation result.

AutoCorrelate(Int32, ReadOnlySpan<T>, Int32, Int32, Span<T>, Int32)

Computes the autocorrelation of a signal.
C#
public void AutoCorrelate(
	int signalLength,
	ReadOnlySpan<T> signal,
	int signalStride,
	int resultLength,
	Span<T> result,
	int resultStride
)

Parameters

signalLength  Int32
The length of the signal.
signal  ReadOnlySpan<T>
The input signal.
signalStride  Int32
The stride between successive elements in the signal.
resultLength  Int32
The length of the result.
result  Span<T>
The output span to hold the autocorrelation result.
resultStride  Int32
The stride between successive elements in the result.

See Also