![]() |
sablib
|
Python's NumPy-like convolve() function. More...
#include <algorithm>#include <Eigen/Eigen>Go to the source code of this file.
Enumerations | |
| enum class | sablib::ConvolveMode { Full , Same , Valid } |
| Mode of Convolve() function. More... | |
Functions | |
| template<typename Derived1, typename Derived2> | |
| const Derived1::PlainObject | sablib::Convolve (const Eigen::MatrixBase< Derived1 > &v1, const Eigen::MatrixBase< Derived2 > &v2, const ConvolveMode mode=ConvolveMode::Full) |
| Returns the discrete, linear convolution of two one-dimensional sequences. | |
Python's NumPy-like convolve() function.
Definition in file convolve.h.
|
strong |
Mode of Convolve() function.
Definition at line 18 of file convolve.h.
| const Derived1::PlainObject sablib::Convolve | ( | const Eigen::MatrixBase< Derived1 > & | v1, |
| const Eigen::MatrixBase< Derived2 > & | v2, | ||
| const ConvolveMode | mode = ConvolveMode::Full ) |
Returns the discrete, linear convolution of two one-dimensional sequences.
| v1 | First one-dimensional input array. |
| v2 | Second one-dimensional input array. |
| mode | The mode of the convolution (default is Full). |
Definition at line 35 of file convolve.h.