KernelProcessor<T>.FillHalos Method

Fills the head and tail halos of a work buffer based on the specified padding mode.

Definition

Namespace: Numerics.NET.SignalProcessing
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0
C#
protected static void FillHalos(
	Span<T> work,
	int haloSize,
	int signalLength,
	SignalPadding padding
)

Parameters

work  Span<T>
The work buffer containing [head halo][signal][tail halo].
haloSize  Int32
The size of each halo region.
signalLength  Int32
The length of the signal in the center.
padding  SignalPadding
The padding mode to use.

See Also