View source: R/058_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; for plain
numeric input it computes the same numpy-style convolution the atom does
(numpy.convolve(a, b) == stats::convolve(a, rev(b), type = "open")),
so the numeric and Expression paths agree.
convolve(a, b)
a, b |
Expressions or numeric vectors; at least one must be constant when building an atom. |
CVXR masks stats::convolve when attached (R reports this on load). If
you specifically want stats' circular cross-correlation or its other
options, call convolve directly.
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.