Rosetta 3.3
Namespaces | Functions
src/numeric/angle.functions.hh File Reference

Trigonometric functions. More...

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

Namespaces

namespace  numeric
 

A 1D histogram based upon a map structure.


Functions

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

Detailed Description

Trigonometric functions.

Author:
Frank M. D'Ippolito (Objexx@objexx.com)
Stuart G. Mentzer (Stuart_Mentzer@objexx.com)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines