![]() |
|
Go to the source code of this file.
Classes | |
struct | VectorType< StdVectorContainer, Scalar > |
struct | VectorType< EigenVectorContainer, Scalar > |
Enumerations | |
enum | { StdVectorContainer , EigenVectorContainer } |
Functions | |
template<typename T > | |
std::complex< T > | RandomCpx () |
template<typename T > | |
complex< long double > | promote (complex< T > x) |
complex< long double > | promote (float x) |
complex< long double > | promote (double x) |
complex< long double > | promote (long double x) |
template<typename VT1 , typename VT2 > | |
long double | fft_rmse (const VT1 &fftbuf, const VT2 &timebuf) |
template<typename VT1 , typename VT2 > | |
long double | dif_rmse (const VT1 buf1, const VT2 buf2) |
template<int Container, typename T > | |
void | test_scalar_generic (int nfft) |
template<typename T > | |
void | test_scalar (int nfft) |
template<int Container, typename T > | |
void | test_complex_generic (int nfft) |
template<typename T > | |
void | test_complex_strided (int nfft) |
template<typename T > | |
void | test_complex (int nfft) |
template<typename T , int nrows, int ncols> | |
void | test_complex2d () |
void | test_return_by_value (int len) |
EIGEN_DECLARE_TEST (FFTW) | |
long double dif_rmse | ( | const VT1 | buf1, |
const VT2 | buf2 | ||
) |
References Eigen::numext::abs2(), k, min, n, and sqrt().
Referenced by test_complex_generic(), test_complex_strided(), and test_scalar_generic().
EIGEN_DECLARE_TEST | ( | FFTW | ) |
References CALL_SUBTEST, and test_return_by_value().
long double fft_rmse | ( | const VT1 & | fftbuf, |
const VT2 & | timebuf | ||
) |
References Eigen::numext::abs2(), acos(), Eigen::bfloat16_impl::exp(), constants::pi, promote(), sqrt(), and plotDoE::x.
Referenced by test_complex_generic(), test_complex_strided(), and test_scalar_generic().
References plotDoE::x.
Referenced by fft_rmse().
References plotDoE::x.
References plotDoE::x.
References plotDoE::x.
|
inline |
void test_complex | ( | int | nfft | ) |
void test_complex2d | ( | ) |
References Eigen::PlainObjectBase< Derived >::data(), k, and VERIFY.
void test_complex_generic | ( | int | nfft | ) |
References dif_rmse(), fft_rmse(), k, and VERIFY.
void test_complex_strided | ( | int | nfft | ) |
References dif_rmse(), fft_rmse(), k, output(), and VERIFY.
|
inline |
void test_scalar | ( | int | nfft | ) |
void test_scalar_generic | ( | int | nfft | ) |
References dif_rmse(), fft_rmse(), k, and VERIFY.