Automatic Differentiation
 
Loading...
Searching...
No Matches
fft.hpp File Reference

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