thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
PhysicalQtyOps.h File Reference

Overloads for mathematical operations on physical quantities. More...

#include "PhysicalQty.h"
#include <cmath>

Go to the source code of this file.

Namespaces

 ThePEG
 This is the main namespace within which all identifiers in ThePEG are declared.
 

Functions

Overloads for mathematical operations on physical quantities.
template<typename T , typename U >
constexpr BinaryOpTraits< T, U >::MulT ThePEG::operator* (T q1, U q2)
 
template<typename T , typename U >
constexpr BinaryOpTraits< T, U >::DivT ThePEG::operator/ (T q1, U q2)
 
template<typename T , typename U >
enable_if_same_qty< T, T, U > ThePEG::operator+ (T q1, U q2)
 
template<typename T , typename U >
enable_if_same_qty< T, T, U > ThePEG::operator- (T q1, U q2)
 
template<typename T , typename U >
constexpr enable_if_same_qty< bool, T, U > ThePEG::operator== (T q1, U q2)
 
template<typename T , typename U >
constexpr enable_if_same_qty< bool, T, U > ThePEG::operator!= (T q1, U q2)
 
template<typename T , typename U >
constexpr enable_if_same_qty< bool, T, U > ThePEG::operator< (T q1, U q2)
 
template<typename T , typename U >
constexpr enable_if_same_qty< bool, T, U > ThePEG::operator<= (T q1, U q2)
 
template<typename T , typename U >
constexpr enable_if_same_qty< bool, T, U > ThePEG::operator> (T q1, U q2)
 
template<typename T , typename U >
constexpr enable_if_same_qty< bool, T, U > ThePEG::operator>= (T q1, U q2)
 
template<typename T >
constexpr enable_if_same_qty< bool, T > ThePEG::operator== (T q1, ZeroUnit)
 
template<typename T >
constexpr enable_if_same_qty< bool, T > ThePEG::operator!= (T q1, ZeroUnit)
 
template<typename T >
constexpr enable_if_same_qty< bool, T > ThePEG::operator< (T q1, ZeroUnit)
 
template<typename T >
constexpr enable_if_same_qty< bool, T > ThePEG::operator> (T q1, ZeroUnit)
 
template<typename T >
constexpr enable_if_same_qty< bool, T > ThePEG::operator<= (T q1, ZeroUnit)
 
template<typename T >
constexpr enable_if_same_qty< bool, T > ThePEG::operator>= (T q1, ZeroUnit)
 
template<typename T >
constexpr enable_if_same_qty< T, T > ThePEG::operator* (T q, double x)
 
template<typename T >
constexpr enable_if_same_qty< T, T > ThePEG::operator* (double x, T q)
 
template<typename T >
constexpr enable_if_same_qty< T, T > ThePEG::operator/ (T q, double x)
 
template<typename T >
constexpr enable_if_same_qty< typename T::Inverse, T > ThePEG::operator/ (double x, T q)
 
template<typename T >
constexpr enable_if_same_qty< T, T > ThePEG::operator- (T q)
 
template<typename T >
enable_if_same_qty< typename T::Sqrt, T > ThePEG::sqrt (T q)
 
template<typename T , typename U >
constexpr enable_if_same_qty< double, T, U > ThePEG::atan2 (T y, U x)
 
template<typename T >
constexpr enable_if_same_qty< T, T > ThePEG::abs (T q)
 
template<long int Num, long int Den, typename T >
constexpr enable_if_same_qty< typename T::template Power< Num, Den >, T > ThePEG::pow (T q)
 
template<typename T , typename U >
ThePEG::max (const T &t, const U &u)
 
template<typename U >
ThePEG::max (const ZeroUnit &t, const U &u)
 
template<typename T , typename U >
ThePEG::min (const T &t, const U &u)
 
template<typename U >
ThePEG::min (const ZeroUnit &t, const U &u)
 

Detailed Description

Overloads for mathematical operations on physical quantities.

Definition in file PhysicalQtyOps.h.