OSVR-Core
Functions
ContentsInvalid.h File Reference

Header. More...

#include <osvr/Kalman/FlexibleKalmanBase.h>
#include <osvr/Kalman/PoseState.h>

Go to the source code of this file.

Functions

bool contentsInvalid (double n)
 Are the contents of a value invalid? (Invalid is defined to be any "weird" floating point value - nan, inf, denormalized, etc. More...
 
template<typename Derived >
bool contentsInvalid (Eigen::MatrixBase< Derived > const &v)
 Applies contentsInvalid() to a matrix or vector.
 
template<typename Derived >
bool covarianceContentsInvalid (Eigen::MatrixBase< Derived > const &v)
 Applies contentsInvalid() to a covariance matrix, and also checks other invariant(s) of a covariance matrix. More...
 
bool stateContentsInvalid (osvr::kalman::pose_externalized_rotation::State const &state)
 Applies contentsInvalid() to state aspects of a pose_externalized_rotation::State.
 
bool covarianceContentsInvalid (osvr::kalman::pose_externalized_rotation::State const &state)
 Applies contentsInvalid() and covarianceContentsInvalid() to the covariance of a pose_externalized_rotation::State.
 
bool contentsInvalid (osvr::kalman::pose_externalized_rotation::State const &state)
 

Detailed Description

Header.

Date
2015
Author
Sensics, Inc. http://sensics.com/osvr

Function Documentation

§ contentsInvalid()

bool contentsInvalid ( double  n)
inline

Are the contents of a value invalid? (Invalid is defined to be any "weird" floating point value - nan, inf, denormalized, etc.

  • anything that std::isnormal() returns false on that isn't just zero)

§ covarianceContentsInvalid()

template<typename Derived >
bool covarianceContentsInvalid ( Eigen::MatrixBase< Derived > const &  v)
inline

Applies contentsInvalid() to a covariance matrix, and also checks other invariant(s) of a covariance matrix.