Rosetta Utilities  2014.35
Namespaces | Functions
angle.functions.hh File Reference

Trigonometric functions. More...

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

Namespaces

 numeric
 Unit headers.
 

Functions

template<typename T >
numeric::principal_angle (T const &angle)
 Principal value of angle in radians on ( -pi, pi ]. More...
 
template<typename T >
numeric::principal_angle_radians (T const &angle)
 Principal value of angle in radians on ( -pi, pi ]. More...
 
template<typename T >
numeric::principal_angle_degrees (T const &angle)
 Principal value of angle in degrees on ( -180, 180 ]. More...
 
template<typename T >
numeric::nonnegative_principal_angle (T const &angle)
 Positive principal value of angle in radians on [ 0, 2*pi ) More...
 
template<typename T >
numeric::nonnegative_principal_angle_radians (T const &angle)
 Positive principal value of angle in radians on [ 0, 2*pi ) More...
 
template<typename T >
numeric::nonnegative_principal_angle_degrees (T const &angle)
 Positive principal value of angle in degrees on [ 0, 360 ) More...
 
template<typename 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 >
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 >
numeric::nearest_angle_degrees (T const &angle, T const &base_angle)
 Nearest periodic value of angle to a base angle in degrees. 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)