#include <cstdint>
#include <cmath>
#include <limits>
#include <algorithm>
Go to the source code of this file.
Functions | |
template<int DEGREE> | |
constexpr float | approx_atan2f_P (float x) |
template<> | |
constexpr float | approx_atan2f_P< 11 > (float x) |
template<> | |
constexpr float | approx_atan2f_P< 13 > (float x) |
template<> | |
constexpr float | approx_atan2f_P< 15 > (float x) |
template<> | |
constexpr float | approx_atan2f_P< 3 > (float x) |
template<> | |
constexpr float | approx_atan2f_P< 5 > (float x) |
template<> | |
constexpr float | approx_atan2f_P< 7 > (float x) |
template<> | |
constexpr float | approx_atan2f_P< 9 > (float x) |
template<int DEGREE> | |
constexpr float | approx_atan2i_P (float x) |
template<> | |
constexpr float | approx_atan2i_P< 11 > (float x) |
template<> | |
constexpr float | approx_atan2i_P< 13 > (float x) |
template<> | |
constexpr float | approx_atan2i_P< 15 > (float x) |
template<> | |
constexpr float | approx_atan2i_P< 3 > (float x) |
template<> | |
constexpr float | approx_atan2i_P< 5 > (float x) |
template<> | |
constexpr float | approx_atan2i_P< 7 > (float x) |
template<> | |
constexpr float | approx_atan2i_P< 9 > (float x) |
template<int DEGREE> | |
constexpr float | approx_atan2s_P (float x) |
template<> | |
constexpr float | approx_atan2s_P< 3 > (float x) |
template<> | |
constexpr float | approx_atan2s_P< 5 > (float x) |
template<> | |
constexpr float | approx_atan2s_P< 7 > (float x) |
template<> | |
constexpr float | approx_atan2s_P< 9 > (float x) |
constexpr double | int2dphi (int x) |
constexpr float | int2phi (int x) |
constexpr int | phi2int (float x) |
constexpr short | phi2short (float x) |
template<int DEGREE> | |
constexpr float | safe_atan2f (float y, float x) |
constexpr float | short2phi (short x) |
template<int DEGREE> | |
constexpr float | unsafe_atan2f (float y, float x) |
template<int DEGREE> | |
constexpr float | unsafe_atan2f_impl (float y, float x) |
template<int DEGREE> | |
constexpr int | unsafe_atan2i (float y, float x) |
template<int DEGREE> | |
constexpr int | unsafe_atan2i_impl (float y, float x) |
template<int DEGREE> | |
constexpr short | unsafe_atan2s (float y, float x) |
template<int DEGREE> | |
constexpr short | unsafe_atan2s_impl (float y, float x) |
constexpr float approx_atan2f_P | ( | float | x | ) |
constexpr float approx_atan2f_P< 11 > | ( | float | x | ) |
constexpr float approx_atan2f_P< 13 > | ( | float | x | ) |
constexpr float approx_atan2f_P< 15 > | ( | float | x | ) |
constexpr float approx_atan2f_P< 3 > | ( | float | x | ) |
constexpr float approx_atan2f_P< 5 > | ( | float | x | ) |
constexpr float approx_atan2f_P< 7 > | ( | float | x | ) |
Definition at line 55 of file approx_atan2.h.
References x, and detailsBasic3DVector::z.
constexpr float approx_atan2f_P< 9 > | ( | float | x | ) |
constexpr float approx_atan2i_P | ( | float | x | ) |
constexpr float approx_atan2i_P< 11 > | ( | float | x | ) |
Definition at line 168 of file approx_atan2.h.
References x, and detailsBasic3DVector::z.
constexpr float approx_atan2i_P< 13 > | ( | float | x | ) |
Definition at line 176 of file approx_atan2.h.
References x, and detailsBasic3DVector::z.
constexpr float approx_atan2i_P< 15 > | ( | float | x | ) |
Definition at line 184 of file approx_atan2.h.
References x, and detailsBasic3DVector::z.
constexpr float approx_atan2i_P< 3 > | ( | float | x | ) |
constexpr float approx_atan2i_P< 5 > | ( | float | x | ) |
constexpr float approx_atan2i_P< 7 > | ( | float | x | ) |
constexpr float approx_atan2i_P< 9 > | ( | float | x | ) |
Definition at line 161 of file approx_atan2.h.
References x, and detailsBasic3DVector::z.
constexpr float approx_atan2s_P | ( | float | x | ) |
constexpr float approx_atan2s_P< 3 > | ( | float | x | ) |
Definition at line 220 of file approx_atan2.h.
References validate-o2o-wbm::f, x, and detailsBasic3DVector::z.
constexpr float approx_atan2s_P< 5 > | ( | float | x | ) |
Definition at line 226 of file approx_atan2.h.
References validate-o2o-wbm::f, x, and detailsBasic3DVector::z.
constexpr float approx_atan2s_P< 7 > | ( | float | x | ) |
Definition at line 232 of file approx_atan2.h.
References validate-o2o-wbm::f, x, and detailsBasic3DVector::z.
constexpr float approx_atan2s_P< 9 > | ( | float | x | ) |
Definition at line 238 of file approx_atan2.h.
References validate-o2o-wbm::f, x, and detailsBasic3DVector::z.
constexpr double int2dphi | ( | int | x | ) |
constexpr float int2phi | ( | int | x | ) |
constexpr int phi2int | ( | float | x | ) |
constexpr short phi2short | ( | float | x | ) |
constexpr float safe_atan2f | ( | float | y, |
float | x | ||
) |
Definition at line 123 of file approx_atan2.h.
References validate-o2o-wbm::f, and detailsBasic3DVector::y.
constexpr float short2phi | ( | short | x | ) |
Definition at line 285 of file approx_atan2.h.
References M_PI, and SiStripPI::max.
Referenced by SiPixelPhase1MonitorRecHitsSoA::analyze(), and gpuPixelDoublets::for().
constexpr float unsafe_atan2f | ( | float | y, |
float | x | ||
) |
constexpr float unsafe_atan2f_impl | ( | float | y, |
float | x | ||
) |
Definition at line 103 of file approx_atan2.h.
References funct::abs(), angle(), and alignCSCRings::r.
constexpr int unsafe_atan2i | ( | float | y, |
float | x | ||
) |
constexpr int unsafe_atan2i_impl | ( | float | y, |
float | x | ||
) |
Definition at line 192 of file approx_atan2.h.
References funct::abs(), angle(), mkfit::LL, SiStripPI::max, and alignCSCRings::r.
constexpr short unsafe_atan2s | ( | float | y, |
float | x | ||
) |
constexpr short unsafe_atan2s_impl | ( | float | y, |
float | x | ||
) |
Definition at line 245 of file approx_atan2.h.
References funct::abs(), angle(), SiStripPI::max, and alignCSCRings::r.