Automatic Differentiation
 
Loading...
Searching...
No Matches
fft.hpp File Reference
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/fun/Eigen.hpp>
#include <unsupported/Eigen/FFT>
#include <Eigen/Dense>
#include <complex>
#include <type_traits>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename V , require_eigen_vector_vt< is_complex, V > * = nullptr, require_not_var_t< base_type_t< value_type_t< V > > > * = nullptr>
Eigen::Matrix< scalar_type_t< V >, -1, 1 > stan::math::fft (const V &x)
 Return the discrete Fourier transform of the specified complex vector.
 
template<typename V , require_eigen_vector_vt< is_complex, V > * = nullptr, require_not_var_t< base_type_t< value_type_t< V > > > * = nullptr>
Eigen::Matrix< scalar_type_t< V >, -1, 1 > stan::math::inv_fft (const V &y)
 Return the inverse discrete Fourier transform of the specified complex vector.
 
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)
 Return the two-dimensional discrete Fourier transform of the specified complex matrix.
 
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::inv_fft2 (const M &y)
 Return the two-dimensional inverse discrete Fourier transform of the specified complex matrix.