Navigation
API > API/Runtime > API/Runtime/SignalProcessing > API/Runtime/SignalProcessing/DSP
References
| Module | SignalProcessing |
| Header | /Engine/Source/Runtime/SignalProcessing/Public/DSP/FloatArrayMath.h |
| Include | #include "DSP/FloatArrayMath.h" |
Syntax
class FContiguousSparse2DKernelTransform
Remarks
FContiguousSparse2DKernelTransform
FContiguousSparse2DKernelTransform applies a matrix transformation to an input array. [OutArray] = [[Kernal]][InView]
It provides some optimization by exploit the contiguous and sparse qualities of the kernel rows, which allows it to skip multiplications with the number zero.
It works with non-sparse and non-contiguous kernels as well, but will be more computationally expensive than a naive implementation. Also, only takes advantage of sparse contiguous rows, not columns.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FContiguousSparse2DKernelTransform
(
const int32 NumInElements, |
NumInElements sets the expected number of input array elements as well as the number of elements in a row. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | Returns the required size of the input array | ||
| int32 | Returns the size of the output array | ||
| void | SetRow
(
const int32 RowIndex, |
Set the kernel values for an individual row. | |
| void | TransformArray
(
TArrayView< const float > InView, |
Transforms the input array given the kernel. | |
| void | TransformArray
(
TArrayView< const float > InView, |
Transforms the input array given the kernel. | |
| void | TransformArray
(
const float* InArray, |
Transforms the input array given the kernel. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FContiguousSparse2DKernelTransform & | operator=
(
const FContiguousSparse2DKernelTransform& |