|
template<typename DataType > |
static Array< DataType > | convolve (const Array< DataType > &array0, const Array< DataType > &array1) |
|
template<typename DataType > |
static Array< DataType > | crossCorrelate (const Array< DataType > &array0, const Array< DataType > &array1) |
|
◆ convolve()
template<typename DataType >
Array< DataType > TBTK::Convolver::convolve |
( |
const Array< DataType > & |
array0, |
|
|
const Array< DataType > & |
array1 |
|
) |
| |
|
static |
Calculates the convolution \(\sum_{x}f(x)g(y-x)\) of two array \(f\) and \(g\).
- Parameters
-
array0 | The array \(f\) in the convolution. |
array1 | The array \(g\) in the convolution. |
- Returns
- The resulting array from the convolution.
◆ crossCorrelate()
template<typename DataType >
Array< DataType > TBTK::Convolver::crossCorrelate |
( |
const Array< DataType > & |
array0, |
|
|
const Array< DataType > & |
array1 |
|
) |
| |
|
static |
Calculates the cross correlation \(\sum_{x}f^{*}(x)g(x+y)\) of two arrays \(f\) and \(g\).
- Parameters
-
array0 | The array \(f\) in the cross correlation. |
array1 | The array \(g\) in the cross correlation. |
- Returns
- The resulting array from the cross correlation.
The documentation for this class was generated from the following file: