Pothos
0.4.0-gd11861cd
The Pothos dataflow programming software suite
|
Go to the source code of this file.
Namespaces | |
Pothos | |
Pothos::Util | |
Functions | |
template<typename T , typename U > | |
std::enable_if < std::is_floating_point< U > ::value, T >::type | Pothos::Util::fromQ (const U &in, const int=0) |
template<typename T , typename U > | |
std::enable_if < std::is_integral< U >::value, T >::type | Pothos::Util::fromQ (const U &in, const int n=sizeof(U)*4) |
template<typename T , typename U > | |
std::enable_if < std::is_floating_point< U > ::value, T >::type | Pothos::Util::fromQ (const std::complex< U > &in, const int=0) |
template<typename T , typename U > | |
std::enable_if < std::is_integral< U >::value, T >::type | Pothos::Util::fromQ (const std::complex< U > &in, const int n=sizeof(U)*4) |
template<typename T , typename U > | |
std::enable_if < std::is_floating_point< T > ::value, T >::type | Pothos::Util::floatToQ (const U &in, const int=0) |
template<typename T , typename U > | |
std::enable_if < std::is_integral< T >::value, T >::type | Pothos::Util::floatToQ (const U &in, const int n=sizeof(T)*4) |
template<typename T , typename U > | |
std::enable_if < std::is_floating_point < typename T::value_type > ::value, T >::type | Pothos::Util::floatToQ (const std::complex< U > &in, const int=0) |
template<typename T , typename U > | |
std::enable_if < std::is_integral< typename T::value_type >::value, T > ::type | Pothos::Util::floatToQ (const std::complex< U > &in, const int n=sizeof(typename T::value_type)*4) |
Templated fixed point utilities and Q-format conversions.