USRP Hardware Driver and USRP Manual: math.hpp File Reference

| USRP Hardware Driver and USRP Manual Version: 4.9.0.makepkg-0-g9ec1f582 UHD and USRP Manual |

Loading...
Searching...
No Matches
math.hpp File Reference
`#include <uhd/config.hpp>`
`#include <cmath>`
`#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 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.