convolve_matrix | R Documentation |
Performs a convolution operation on a given data matrix 'X' using a specified kernel matrix 'Kern'.
convolve_matrix(X, Kern, normalize = FALSE)
X |
A data matrix to be convolved. |
Kern |
A kernel matrix used for the convolution. |
normalize |
A logical flag indicating whether to normalize the kernel matrix before performing the convolution (default: FALSE). |
A matrix resulting from the convolution of the data matrix 'X' with the kernel matrix 'Kern'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.