Template Function rcppsw::math::abs

Function Documentation

template<typename TAngleType>
TAngleType rcppsw::math::abs(const TAngleType &angle)

Calculate the absolute value of a radians or degrees value. This does not perform any wrapping/normalizing.