Project
Loading...
Searching...
No Matches
trigonometric.h File Reference
#include <cmath>
#include <tuple>
#include "GPUCommonArray.h"
#include "GPUCommonDef.h"
#include "GPUCommonMath.h"
#include "CommonConstants/MathConstants.h"
#include "MathUtils/detail/basicMath.h"

Go to the source code of this file.

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::math_utils
 
namespace  o2::math_utils::detail
 

Functions

template<typename T >
 o2::math_utils::detail::GPUhdi () T copysign(T x
 
template<typename T >
 o2::math_utils::detail::GPUhdi () void bringTo02Pi(T &phi)
 
template<typename T >
T o2::math_utils::detail::to02PiGen (T phi)
 
template<typename T >
void o2::math_utils::detail::bringTo02PiGen (T &phi)
 
template<typename T >
T o2::math_utils::detail::toPMPiGen (T phi)
 
template<typename T >
void o2::math_utils::detail::bringToPMPiGen (T &phi)
 
template<>
 o2::math_utils::detail::GPUhdi () void sincos(double ang
 
template<typename T >
std::tuple< T, To2::math_utils::detail::rotateZ (T xL, T yL, T snAlp, T csAlp)
 
 o2::math_utils::detail::if (!okForPhiMin(phi0, phi1))
 
 o2::math_utils::detail::if (phi0 > phi1)
 
 o2::math_utils::detail::bringTo02Pi (phi)
 
 o2::math_utils::detail::if (del< 0)
 
return o2::math_utils::detail::copysign< T > (atan2P(o2::gpu::GPUCommonMath::Abs(y), x), y)
 
template<class T >
 o2::math_utils::detail::GPUdi () int nint(T x)
 
template<>
 o2::math_utils::detail::GPUdi () double twoPi()
 
template<>
 o2::math_utils::detail::GPUdi () double pi()
 
template<>
 o2::math_utils::detail::GPUdi () double tan(double x)
 
template<>
 o2::math_utils::detail::GPUdi () double sin(double x)
 
template<>
 o2::math_utils::detail::GPUdi () double atan2(double y
 
template<>
 o2::math_utils::detail::GPUdi () double atan(double x)
 
template<>
 o2::math_utils::detail::GPUdi () double asin(double x)
 
template<>
 o2::math_utils::detail::GPUdi () double acos(double x)
 
template<>
 o2::math_utils::detail::GPUdi () double cos(double x)
 

Variables

To2::math_utils::detail::s
 
T To2::math_utils::detail::c
 
T o2::math_utils::detail::yL
 
T To2::math_utils::detail::xG
 
T T To2::math_utils::detail::yG = xL * snAlp + yL * csAlp
 
T T T T o2::math_utils::detail::snAlp
 
T T T T T o2::math_utils::detail::csAlp
 
T To2::math_utils::detail::xL
 
T o2::math_utils::detail::phi
 
template<typename T >
return((dphi > 0 &&dphi< constants::math::PI)||dphi< -constants::math::PI) ? true o2::math_utils::detail::GPUhdi () const expr bool okForPhiMax(T phiMax
 
return((dphi< 0 &&dphi > -constants::math::PI)||dphi > constants::math::PI) ? true T o2::math_utils::detail::phi1
 
 o2::math_utils::detail::else
 
 o2::math_utils::detail::del = phi1 - phi0
 
T o2::math_utils::detail::x
 
auto o2::math_utils::detail::atan
 
auto o2::math_utils::detail::atan2P
 

Detailed Description