Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Loading...
Searching...
No Matches
Functions.h File Reference
#include <cmath>
#include "Math/Expression.h"
Include dependency graph for Functions.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  ROOT::Math::meta_dot< I >
 
struct  ROOT::Math::meta_dot< 0 >
 
struct  ROOT::Math::meta_mag< I >
 
struct  ROOT::Math::meta_mag< 0 >
 

Namespaces

namespace  ROOT
 tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tbb::task_arena without forward declaring tbb::interface7
 
namespace  ROOT::Math
 

Functions

template<class T >
SVector< T, 3 > ROOT::Math::Cross (const SVector< T, 3 > &lhs, const SVector< T, 3 > &rhs)
 Vector Cross Product (only for 3-dim vectors) c=a×b.
 
template<class T , class A >
SVector< T, 3 > ROOT::Math::Cross (const SVector< T, 3 > &lhs, const VecExpr< A, T, 3 > &rhs)
 
template<class A , class T >
SVector< T, 3 > ROOT::Math::Cross (const VecExpr< A, T, 3 > &lhs, const SVector< T, 3 > &rhs)
 
template<class A , class B , class T >
SVector< T, 3 > ROOT::Math::Cross (const VecExpr< A, T, 3 > &lhs, const VecExpr< B, T, 3 > &rhs)
 
template<class T , unsigned int D>
ROOT::Math::Dot (const SVector< T, D > &lhs, const SVector< T, D > &rhs)
 Vector dot product.
 
template<class A , class T , unsigned int D>
ROOT::Math::Dot (const SVector< T, D > &lhs, const VecExpr< A, T, D > &rhs)
 
template<class A , class T , unsigned int D>
ROOT::Math::Dot (const VecExpr< A, T, D > &lhs, const SVector< T, D > &rhs)
 
template<class A , class B , class T , unsigned int D>
ROOT::Math::Dot (const VecExpr< A, T, D > &lhs, const VecExpr< B, T, D > &rhs)
 
template<class T >
ROOT::Math::Lmag (const SVector< T, 4 > &rhs)
 Lmag: Minkowski Lorentz-Vector norm (only for 4-dim vectors) Length of a vector Lorentz-Vector: |v|=v02v12v22v32.
 
template<class A , class T >
ROOT::Math::Lmag (const VecExpr< A, T, 4 > &rhs)
 
template<class T >
ROOT::Math::Lmag2 (const SVector< T, 4 > &rhs)
 Lmag2: Square of Minkowski Lorentz-Vector norm (only for 4D Vectors) Template to compute |v|2=v02v12v22v32.
 
template<class A , class T >
ROOT::Math::Lmag2 (const VecExpr< A, T, 4 > &rhs)
 
template<class T , unsigned int D>
ROOT::Math::Mag (const SVector< T, D > &rhs)
 Vector magnitude (Euclidean norm) Compute : |v|=ivi2.
 
template<class A , class T , unsigned int D>
ROOT::Math::Mag (const VecExpr< A, T, D > &rhs)
 
template<class T , unsigned int D>
ROOT::Math::Mag2 (const SVector< T, D > &rhs)
 Vector magnitude square Template to compute |v|2=ivi2.
 
template<class A , class T , unsigned int D>
ROOT::Math::Mag2 (const VecExpr< A, T, D > &rhs)
 
template<class T >
constROOT::Math::Maximum (const T &lhs, const T &rhs)
 maximum.
 
template<class T >
constROOT::Math::Minimum (const T &lhs, const T &rhs)
 minimum.
 
template<class T >
int ROOT::Math::Round (const T &x)
 round.
 
template<class T >
int ROOT::Math::Sign (const T &x)
 sign.
 
template<class T >
constROOT::Math::Square (const T &x)
 square Template function to compute xx, for any type T returning a type T
 
template<class T , unsigned int D>
SVector< T, D > ROOT::Math::Unit (const SVector< T, D > &rhs)
 Unit.
 
template<class A , class T , unsigned int D>
SVector< T, D > ROOT::Math::Unit (const VecExpr< A, T, D > &rhs)