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