Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ fft2() [1/2]

template<typename M , require_eigen_dense_dynamic_vt< is_complex, M > * = nullptr, require_not_var_t< base_type_t< value_type_t< M > > > * = nullptr>
Eigen::Matrix< scalar_type_t< M >, -1, -1 > stan::math::fft2 ( const M &  x)
inline

Return the two-dimensional discrete Fourier transform of the specified complex matrix.

The 2D discrete Fourier transform first runs the discrete Fourier transform on the each row, then on each column of the result.

Template Parameters
Mtype of complex matrix argument
Parameters
[in]xmatrix to transform
Returns
discrete 2D Fourier transform of x

Definition at line 87 of file fft.hpp.