All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
Valid-inl.h File Reference

Implementation of isValid(), isSubnormal() and setSubnormalToZero(). More...

#include <boost/math/special_functions/fpclassify.hpp>
Include dependency graph for Valid-inl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 SurgSim
 
 SurgSim::Math
 

Functions

bool SurgSim::Math::isValid (float value)
 Check if a float value is valid. More...
 
bool SurgSim::Math::isValid (double value)
 Check if a double value is valid. More...
 
template<typename T >
bool SurgSim::Math::isValid (const Eigen::DenseBase< T > &value)
 Check if a matrix or a vector is valid. More...
 
template<typename T >
bool SurgSim::Math::isValid (const Eigen::QuaternionBase< T > &value)
 Check if a quaternion is valid. More...
 
template<typename T >
bool SurgSim::Math::isValid (const Eigen::AngleAxis< T > &value)
 Check if an angle/axis 3D rotation is valid. More...
 
template<typename T >
bool SurgSim::Math::isValid (const Eigen::Rotation2D< T > &value)
 Check if a 2D rotation is valid. More...
 
template<typename T , int D, int M, int O>
bool SurgSim::Math::isValid (const Eigen::Transform< T, D, M, O > &value)
 Check if a transform is valid. More...
 
bool SurgSim::Math::isSubnormal (float value)
 Check if a float value is subnormal. More...
 
bool SurgSim::Math::isSubnormal (double value)
 Check if a double value is subnormal. More...
 
template<typename T >
bool SurgSim::Math::isSubnormal (const Eigen::DenseBase< T > &value)
 Check if a matrix or a vector contains any subnormal floating-point values. More...
 
template<typename T >
bool SurgSim::Math::isSubnormal (const Eigen::QuaternionBase< T > &value)
 Check if a quaternion contains any subnormal floating-point values. More...
 
template<typename T >
bool SurgSim::Math::isSubnormal (const Eigen::AngleAxis< T > &value)
 Check if an angle/axis 3D rotation contains any subnormal floating-point values. More...
 
template<typename T >
bool SurgSim::Math::isSubnormal (const Eigen::Rotation2D< T > &value)
 Check if a 2D rotation is described by an angle that is subnormal. More...
 
template<typename T , int D, int M, int O>
bool SurgSim::Math::isSubnormal (const Eigen::Transform< T, D, M, O > &value)
 Check if a transform contains any subnormal floating-point values. More...
 
bool SurgSim::Math::setSubnormalToZero (float *value)
 If the float value is subnormal, set it to zero. More...
 
bool SurgSim::Math::setSubnormalToZero (double *value)
 If the double value is subnormal, set it to zero. More...
 
template<typename T >
bool SurgSim::Math::setSubnormalToZero (Eigen::DenseBase< T > *value)
 Set all subnormal values in a matrix or a vector to zero. More...
 
template<typename T >
bool SurgSim::Math::setSubnormalToZero (Eigen::QuaternionBase< T > *value)
 Set all subnormal values in a quaternion to zero. More...
 
template<typename T >
bool SurgSim::Math::setSubnormalToZero (Eigen::AngleAxis< T > *value)
 Set all subnormal values in an angle/axis 3D rotation to zero. More...
 
template<typename T >
bool SurgSim::Math::setSubnormalToZero (Eigen::Rotation2D< T > *value)
 If the angle of a 2D rotation is subnormal, set it to zero. More...
 
template<typename T , int D, int M, int O>
bool SurgSim::Math::setSubnormalToZero (Eigen::Transform< T, D, M, O > *value)
 Set all subnormal values in a transform to zero. More...
 

Detailed Description

Implementation of isValid(), isSubnormal() and setSubnormalToZero().