Automatic Differentiation
 
Loading...
Searching...
No Matches
fft.hpp File Reference
#include <stan/math/prim/fun/Eigen.hpp>
#include <stan/math/rev/meta.hpp>
#include <stan/math/prim/fun/typedefs.hpp>
#include <stan/math/prim/fun/to_complex.hpp>
#include <stan/math/prim/fun/fft.hpp>
#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_var_t< base_type_t< value_type_t< V > > > * = nullptr>
plain_type_t< V > 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_var_t< base_type_t< value_type_t< V > > > * = nullptr>
plain_type_t< V > 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_var_t< base_type_t< value_type_t< M > > > * = nullptr>
plain_type_t< M > 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_var_t< base_type_t< value_type_t< M > > > * = nullptr>
plain_type_t< M > stan::math::inv_fft2 (const M &y)
 Return the two-dimensional inverse discrete Fourier transform of the specified complex matrix.