PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include "math.hpp"
Go to the source code of this file.
Namespaces | |
matrix | |
Functions | |
template<typename Type > | |
bool | matrix::is_finite (Type x) |
template<typename Type > | |
bool | matrix::isEqualF (const Type x, const Type y, const Type eps=1e-4f) |
Compare if two floating point numbers are equal. More... | |
template<typename Type > | |
Type | matrix::wrap (Type x, Type low, Type high) |
Wrap value to stay in range [low, high) More... | |
template<typename Type > | |
Type | matrix::wrap_pi (Type x) |
Wrap value in range [-π, π) More... | |
template<typename Type > | |
Type | matrix::wrap_2pi (Type x) |
Wrap value in range [0, 2π) More... | |