View source: R/059_atoms_affine_conv.R
| convolve | R Documentation |
convolve() is CVXPY 1.9's preferred name for conv
(CVXPY's conv class is deprecated in favor of convolve). For a
CVXR Expression argument it builds a Convolve atom, the
numpy-style convolution
(numpy.convolve(x, y) == stats::convolve(x, rev(y), type = "open")).
If neither argument is an Expression the call is forwarded as written to
convolve, so the result is exactly stats'
(circular by default).
convolve(x, y, conj = TRUE, type = c("circular", "open", "filter"))
x, y |
Expressions or numeric vectors; at least one must be constant when building an atom. |
conj, type |
As in |
A Convolve atom (for expressions) or a numeric vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.