#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 | ) |
Definition at line 71 of file approx_atan2.h.
References nano_mu_digi_cff::float, x, testProducerWithPsetDescEmpty_cfi::x1, and detailsBasic3DVector::z.
constexpr float approx_atan2f_P< 13 > | ( | float | x | ) |
Definition at line 81 of file approx_atan2.h.
References nano_mu_digi_cff::float, x, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, and detailsBasic3DVector::z.
constexpr float approx_atan2f_P< 15 > | ( | float | x | ) |
Definition at line 92 of file approx_atan2.h.
References nano_mu_digi_cff::float, x, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, and detailsBasic3DVector::z.
constexpr float approx_atan2f_P< 3 > | ( | float | x | ) |
constexpr float approx_atan2f_P< 5 > | ( | float | x | ) |
Definition at line 48 of file approx_atan2.h.
References nano_mu_digi_cff::float, x, testProducerWithPsetDescEmpty_cfi::x1, and detailsBasic3DVector::z.
constexpr float approx_atan2f_P< 7 > | ( | float | x | ) |
Definition at line 55 of file approx_atan2.h.
References nano_mu_digi_cff::float, x, testProducerWithPsetDescEmpty_cfi::x2, and detailsBasic3DVector::z.
constexpr float approx_atan2f_P< 9 > | ( | float | x | ) |
Definition at line 62 of file approx_atan2.h.
References nano_mu_digi_cff::float, x, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, and detailsBasic3DVector::z.
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 | ) |
constexpr float approx_atan2s_P< 5 > | ( | float | x | ) |
constexpr float approx_atan2s_P< 7 > | ( | float | x | ) |
constexpr float approx_atan2s_P< 9 > | ( | float | x | ) |
constexpr double int2dphi | ( | int | x | ) |
Definition at line 275 of file approx_atan2.h.
References ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), L1DTConfigBti_cff::LL, M_PI, SiStripPI::max, and x.
constexpr float int2phi | ( | int | x | ) |
Definition at line 270 of file approx_atan2.h.
References ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), nano_mu_digi_cff::float, L1DTConfigBti_cff::LL, M_PI, SiStripPI::max, and x.
constexpr int phi2int | ( | float | x | ) |
Definition at line 265 of file approx_atan2.h.
References ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), L1DTConfigBti_cff::LL, M_PI, SiStripPI::max, and x.
constexpr short phi2short | ( | float | x | ) |
Definition at line 280 of file approx_atan2.h.
References ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), createfilelist::int, M_PI, SiStripPI::max, and x.
constexpr float safe_atan2f | ( | float | y, |
float | x | ||
) |
constexpr float short2phi | ( | short | x | ) |
Definition at line 285 of file approx_atan2.h.
References ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), nano_mu_digi_cff::float, createfilelist::int, M_PI, SiStripPI::max, and x.
Referenced by SiPixelMonitorRecHitsSoAAlpaka< T >::analyze(), SiPixelMonitorRecHitsSoA< T >::analyze(), gpuPixelDoublets::for(), and ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::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(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), alignCSCRings::r, x, and detailsBasic3DVector::y.
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(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), createfilelist::int, L1DTConfigBti_cff::LL, SiStripPI::max, alignCSCRings::r, x, and detailsBasic3DVector::y.
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(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), createfilelist::int, SiStripPI::max, alignCSCRings::r, x, and detailsBasic3DVector::y.