| USRP Hardware Driver and USRP Manual Version: 4.8.0.makepkg-0-g308126a4 UHD and USRP Manual |

Loading...
Searching...
No Matches
Classes | Namespaces | Functions
math.hpp File Reference
`#include <uhd/config.hpp>`
`#include <boost/numeric/conversion/bounds.hpp>`
`#include <boost/version.hpp>`
`#include <cmath>`
`#include <boost/math/common_factor.hpp>`
`#include <uhd/utils/fp_compare_delta.ipp>`
`#include <uhd/utils/fp_compare_epsilon.ipp>`

Go to the source code of this file.

## Classes
class | uhd::math::fp_compare::fp_compare_epsilon< float_t >
class | uhd::math::fp_compare::freq_compare_epsilon
| An alias for fp_compare_epsilon, but with defaults for frequencies. More...
class | uhd::math::fp_compare::fp_compare_delta< float_t >

## Namespaces
namespace | uhd
namespace | uhd::math
namespace | uhd::math::fp_compare

## Functions
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator== (fp_compare_epsilon< float_t > lhs, fp_compare_epsilon< float_t > rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator!= (fp_compare_epsilon< float_t > lhs, fp_compare_epsilon< float_t > rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator< (fp_compare_epsilon< float_t > lhs, fp_compare_epsilon< float_t > rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator<= (fp_compare_epsilon< float_t > lhs, fp_compare_epsilon< float_t > rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator> (fp_compare_epsilon< float_t > lhs, fp_compare_epsilon< float_t > rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator>= (fp_compare_epsilon< float_t > lhs, fp_compare_epsilon< float_t > rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator== (fp_compare_epsilon< float_t > lhs, double rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator!= (fp_compare_epsilon< float_t > lhs, double rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator< (fp_compare_epsilon< float_t > lhs, double rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator<= (fp_compare_epsilon< float_t > lhs, double rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator> (fp_compare_epsilon< float_t > lhs, double rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator>= (fp_compare_epsilon< float_t > lhs, double rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator== (double lhs, fp_compare_epsilon< float_t > rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator!= (double lhs, fp_compare_epsilon< float_t > rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator< (double lhs, fp_compare_epsilon< float_t > rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator<= (double lhs, fp_compare_epsilon< float_t > rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator> (double lhs, fp_compare_epsilon< float_t > rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator>= (double lhs, fp_compare_epsilon< float_t > rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator== (fp_compare_delta< float_t > lhs, fp_compare_delta< float_t > rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator!= (fp_compare_delta< float_t > lhs, fp_compare_delta< float_t > rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator< (fp_compare_delta< float_t > lhs, fp_compare_delta< float_t > rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator<= (fp_compare_delta< float_t > lhs, fp_compare_delta< float_t > rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator> (fp_compare_delta< float_t > lhs, fp_compare_delta< float_t > rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator>= (fp_compare_delta< float_t > lhs, fp_compare_delta< float_t > rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator== (fp_compare_delta< float_t > lhs, double rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator!= (fp_compare_delta< float_t > lhs, double rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator< (fp_compare_delta< float_t > lhs, double rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator<= (fp_compare_delta< float_t > lhs, double rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator> (fp_compare_delta< float_t > lhs, double rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator>= (fp_compare_delta< float_t > lhs, double rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator== (double lhs, fp_compare_delta< float_t > rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator!= (double lhs, fp_compare_delta< float_t > rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator< (double lhs, fp_compare_delta< float_t > rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator<= (double lhs, fp_compare_delta< float_t > rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator> (double lhs, fp_compare_delta< float_t > rhs)
template<typename float_t>
UHD_INLINE bool | uhd::math::fp_compare::operator>= (double lhs, fp_compare_delta< float_t > rhs)
UHD_INLINE bool | uhd::math::frequencies_are_equal (double lhs, double rhs)
double | uhd::math::dB_to_lin (const double dB_val)
double | uhd::math::lin_to_dB (const double val)
template<typename IntegerType>
IntegerType | uhd::math::lcm (IntegerType x, IntegerType y)
| Portable version of lcm() across Boost versions.
template<typename IntegerType>
IntegerType | uhd::math::gcd (IntegerType x, IntegerType y)
| Portable version of gcd() across Boost versions.
template<typename T>
constexpr int | uhd::math::sign (T x)
| Returns the sign of x.
double | uhd::math::wrap_frequency (const double requested_freq, const double rate)
| Return a wrapped frequency that is the equivalent frequency in the first.