Rosetta  2019.12
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
angle.functions.hh File Reference

Trigonometric functions. More...

#include <numeric/numeric.functions.hh>
#include <numeric/NumericTraits.hh>
#include <numeric/Quaternion.hh>
#include <numeric/xyzMatrix.hh>
#include <cmath>

Namespaces

 numeric
 Unit headers.
 

Functions

template<typename T >
T numeric::principal_angle (T const &angle)
 Principal value of angle in radians on ( -pi, pi ]. More...
 
template<typename T >
T numeric::principal_angle_radians (T const &angle)
 Principal value of angle in radians on ( -pi, pi ]. More...
 
template<typename T >
T numeric::principal_angle_degrees (T const &angle)
 Principal value of angle in degrees on ( -180, 180 ]. More...
 
template<typename T >
T numeric::nonnegative_principal_angle (T const &angle)
 Positive principal value of angle in radians on [ 0, 2*pi ) More...
 
template<typename T >
T numeric::nonnegative_principal_angle_radians (T const &angle)
 Positive principal value of angle in radians on [ 0, 2*pi ) More...
 
template<typename T >
T numeric::nonnegative_principal_angle_degrees (T const &angle)
 Positive principal value of angle in degrees on [ 0, 360 ) More...
 
template<typename T >
T numeric::nearest_angle (T const &angle, T const &base_angle)
 Nearest periodic value of angle to a base angle in radians. More...
 
template<typename T >
T numeric::nearest_angle_radians (T const &angle, T const &base_angle)
 Nearest periodic value of angle to a base angle in radians. More...
 
template<typename T >
T numeric::nearest_angle_degrees (T const &angle, T const &base_angle)
 Nearest periodic value of angle to a base angle in degrees. More...
 
template<typename T >
void numeric::R2quat (xyzMatrix< T > const &R, Quaternion< T > &Q)
 Interconvert Quaternion <=> Rotation Matrix. More...
 
template<typename T >
void numeric::quat2R (Quaternion< T > const &Q, xyzMatrix< T > &R)
 Interconvert Quaternion <=> Rotation Matrix. More...
 

Detailed Description

Trigonometric functions.

Author
Frank M. D'Ippolito (Objex.nosp@m.x@ob.nosp@m.jexx..nosp@m.com)
Stuart G. Mentzer (Stuar.nosp@m.t_Me.nosp@m.ntzer.nosp@m.@obj.nosp@m.exx.c.nosp@m.om)