ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Macros | Functions
math.h File Reference
#include "macros.h"
#include "undomacros.h"
Include dependency graph for math.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ROOT
 Namespace for new ROOT classes and functions.
 
 ROOT::Vc
 
 ROOT::Vc::Scalar
 

Macros

#define VC_MINMAX(V)
 
#define VC_LOG2(V)
 

Functions

template<typename T >
static Vc_ALWAYS_INLINE Vector< TROOT::Vc::Scalar::sqrt (const Vector< T > &x)
 
template<typename T >
static Vc_ALWAYS_INLINE Vector< TROOT::Vc::Scalar::rsqrt (const Vector< T > &x)
 
template<typename T >
static Vc_ALWAYS_INLINE Vector< TROOT::Vc::Scalar::abs (const Vector< T > &x)
 
template<>
Vc_ALWAYS_INLINE int_v ROOT::Vc::Scalar::abs (const int_v &x)
 
template<>
Vc_ALWAYS_INLINE uint_v ROOT::Vc::Scalar::abs (const uint_v &x)
 
template<>
Vc_ALWAYS_INLINE short_v ROOT::Vc::Scalar::abs (const short_v &x)
 
template<>
Vc_ALWAYS_INLINE ushort_v ROOT::Vc::Scalar::abs (const ushort_v &x)
 
template<typename T >
static Vc_ALWAYS_INLINE void ROOT::Vc::Scalar::sincos (const Vector< T > &x, Vector< T > *sin, Vector< T > *cos)
 
template<>
Vc_ALWAYS_INLINE void ROOT::Vc::Scalar::sincos (const Vector< double > &x, Vector< double > *sin, Vector< double > *cos)
 
template<typename T >
static Vc_ALWAYS_INLINE Vector< TROOT::Vc::Scalar::sin (const Vector< T > &x)
 
template<typename T >
static Vc_ALWAYS_INLINE Vector< TROOT::Vc::Scalar::asin (const Vector< T > &x)
 
template<typename T >
static Vc_ALWAYS_INLINE Vector< TROOT::Vc::Scalar::cos (const Vector< T > &x)
 
template<typename T >
static Vc_ALWAYS_INLINE Vector< TROOT::Vc::Scalar::log (const Vector< T > &x)
 
template<typename T >
static Vc_ALWAYS_INLINE Vector< TROOT::Vc::Scalar::log10 (const Vector< T > &x)
 
template<typename T >
static Vc_ALWAYS_INLINE Vector< TROOT::Vc::Scalar::exp (const Vector< T > &x)
 
template<typename T >
static Vc_ALWAYS_INLINE Vector< TROOT::Vc::Scalar::atan (const Vector< T > &x)
 
template<typename T >
static Vc_ALWAYS_INLINE Vector< TROOT::Vc::Scalar::atan2 (const Vector< T > &x, const Vector< T > &y)
 
template<typename T >
static Vc_ALWAYS_INLINE Vector< TROOT::Vc::Scalar::trunc (const Vector< T > &x)
 
template<typename T >
static Vc_ALWAYS_INLINE Vector< TROOT::Vc::Scalar::floor (const Vector< T > &x)
 
template<typename T >
static Vc_ALWAYS_INLINE Vector< TROOT::Vc::Scalar::ceil (const Vector< T > &x)
 
template<typename T >
static Vc_ALWAYS_INLINE Vector< TROOT::Vc::Scalar::round (const Vector< T > &x)
 
template<>
Vc_ALWAYS_INLINE Vector< float > ROOT::Vc::Scalar::round (const Vector< float > &x)
 
template<>
Vc_ALWAYS_INLINE Vector< sfloat > ROOT::Vc::Scalar::round (const Vector< sfloat > &x)
 
template<>
Vc_ALWAYS_INLINE Vector< doubleROOT::Vc::Scalar::round (const Vector< double > &x)
 
template<typename T >
static Vc_ALWAYS_INLINE Vector< TROOT::Vc::Scalar::reciprocal (const Vector< T > &x)
 
template<typename T >
static Vc_ALWAYS_INLINE Vector
< T >::Mask 
ROOT::Vc::Scalar::isfinite (const Vector< T > &x)
 
template<typename T >
static Vc_ALWAYS_INLINE Vector
< T >::Mask 
ROOT::Vc::Scalar::isnan (const Vector< T > &x)
 
Vc_ALWAYS_INLINE Vector< float > ROOT::Vc::Scalar::frexp (Vector< float > x, Vector< int > *e)
 
Vc_ALWAYS_INLINE Vector< doubleROOT::Vc::Scalar::frexp (Vector< double > x, Vector< int > *e)
 
Vc_ALWAYS_INLINE sfloat_v ROOT::Vc::Scalar::frexp (sfloat_v x, short_v *e)
 
Vc_ALWAYS_INLINE Vector< float > ROOT::Vc::Scalar::ldexp (Vector< float > x, Vector< int > e)
 
Vc_ALWAYS_INLINE Vector< doubleROOT::Vc::Scalar::ldexp (Vector< double > x, Vector< int > e)
 
Vc_ALWAYS_INLINE sfloat_v ROOT::Vc::Scalar::ldexp (sfloat_v x, short_v e)
 

Macro Definition Documentation

#define VC_LOG2 (   V)
Value:
static Vc_ALWAYS_INLINE V log2(const V &x) \
{ \
return V(std::log(x.data()) / c_ln2<V::EntryType>()); \
}
Double_t x[n]
Definition: legend1.C:17
return
Definition: TBase64.cxx:62
#define Vc_ALWAYS_INLINE
Definition: macros.h:130
double log(double)

Definition at line 115 of file math.h.

#define VC_MINMAX (   V)
Value:
static Vc_ALWAYS_INLINE V min(const V &x, const V &y) { return V(std::min(x.data(), y.data())); } \
static Vc_ALWAYS_INLINE V max(const V &x, const V &y) { return V(std::max(x.data(), y.data())); }
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
Definition: vector.h:433
Double_t x[n]
Definition: legend1.C:17
#define Vc_ALWAYS_INLINE
Definition: macros.h:130
Double_t y[n]
Definition: legend1.C:17
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
Definition: vector.h:440

Definition at line 31 of file math.h.