Kernel Processor<T>.Correlate 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
| Correlate( | Computes the cross-correlation of a vector with the stored kernel (allocating). |
| Correlate( | Computes the cross-correlation of a signal with the stored kernel. |
| Correlate( | Computes the cross-correlation of a vector with the stored kernel (non-allocating). |
| Correlate( | Computes the cross-correlation of a signal with the stored kernel. |
Correlate(Vector<T>)
Computes the cross-correlation of a vector with the stored kernel (allocating).
public Vector<T> Correlate(
Vector<T> signal
)Parameters
Return Value
Vector<T>A vector containing the correlation result.
Correlate(ReadOnlySpan<T>, Span<T>)
Computes the cross-correlation of a signal with the stored kernel.
public void Correlate(
ReadOnlySpan<T> signal,
Span<T> result
)Parameters
- signal ReadOnlySpan<T>
- The input signal.
- result Span<T>
- The output span to hold the correlation result.
Correlate(Vector<T>, Vector<T>)
Computes the cross-correlation of a vector with the stored kernel (non-allocating).
public void Correlate(
Vector<T> signal,
Vector<T> output
)Parameters
Correlate(Int32, ReadOnlySpan<T>, Int32, Int32, Span<T>, Int32)
Computes the cross-correlation of a signal with the stored kernel.
public abstract void Correlate(
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 correlation result.
- resultStride Int32
- The stride between successive elements in the result.