Rosetta
|
NumericTraits: Numeric type traits. More...
#include <NumericTraits.hh>
Public Types | |
typedef T | Type |
Static Public Member Functions | |
constexpr static Type | zero () |
Zero. More... | |
constexpr static Type | one () |
One. More... | |
constexpr static Type | two () |
Two. More... | |
constexpr static Type | pi () |
pi More... | |
constexpr static Type | pi_2 () |
2*pi More... | |
constexpr static Type | pi_over_2 () |
pi/2 More... | |
constexpr static Type | pi_over_3 () |
pi/3 More... | |
constexpr static Type | pi_over_4 () |
pi/4 More... | |
constexpr static Type | pi_2_over_3 () |
(2*pi)/3 More... | |
constexpr static Type | pi_3_over_4 () |
(3*pi)/4 More... | |
constexpr static Type | pi_over_180 () |
pi/180 More... | |
constexpr static Type | degrees_to_radians () |
pi/180 More... | |
constexpr static Type | deg2rad () |
pi/180 More... | |
constexpr static Type | radians_to_degrees () |
180/pi More... | |
constexpr static Type | rad2deg () |
180/pi More... | |
constexpr static Type | sqrt_2pi () |
sqrt(2*pi) More... | |
NumericTraits: Numeric type traits.
typedef T numeric::NumericTraits< T >::Type |
|
inlinestaticconstexpr |
pi/180
|
inlinestaticconstexpr |
pi/180
Referenced by numeric::conversions::from_degrees(), numeric::conversions::radians(), and numeric::conversions::to_radians().
|
inlinestaticconstexpr |
One.
|
inlinestaticconstexpr |
pi
Referenced by Tet4HMatchAligner::align_info(), TorsionVectorMover::apply(), create_random_pose(), numeric::euler_angles_from_rotation_matrix_ZXZ(), numeric::euler_angles_from_rotation_matrix_ZYZ(), main(), CheeseFunction::operator()(), rand_rot(), refine(), numeric::rotation_angle(), run(), shift_angles(), and numeric::wrap_pi().
|
inlinestaticconstexpr |
2*pi
Referenced by numeric::nearest_angle(), and numeric::nearest_angle_radians().
|
inlinestaticconstexpr |
(2*pi)/3
|
inlinestaticconstexpr |
(3*pi)/4
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
pi/2
Referenced by numeric::euler_angles_from_rotation_matrix_ZYX().
|
inlinestaticconstexpr |
pi/3
|
inlinestaticconstexpr |
pi/4
|
inlinestaticconstexpr |
180/pi
|
inlinestaticconstexpr |
180/pi
Referenced by numeric::conversions::degrees(), numeric::conversions::from_radians(), and numeric::conversions::to_degrees().
|
inlinestaticconstexpr |
sqrt(2*pi)
|
inlinestaticconstexpr |
Two.
|
inlinestaticconstexpr |
Zero.