Template Function pinocchio::isNormalized(const Eigen::MatrixBase<VectorLike>&, const typename VectorLike::RealScalar&)
Defined in File matrix.hpp
Function Documentation
-
template<typename VectorLike>
inline bool pinocchio::isNormalized(const Eigen::MatrixBase<VectorLike> &vec, const typename VectorLike::RealScalar &prec = Eigen::NumTraits<typename VectorLike::Scalar>::dummy_precision()) Check whether the input vector is Normalized within the given precision.
- Parameters:
vec – [in] Input vector
prec – [in] Required precision
- Returns:
true if vec is normalized within the precision prec.