Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
DisplacementVector2D.h File Reference

Classes

class  ROOT::Math::DisplacementVector2D< CoordSystem, Tag >
 Class describing a generic displacement vector in 2 dimensions. More...

Namespaces

namespace  ROOT
namespace  ROOT::Math

Functions

template<std::size_t I, class CoordSystem, class Tag>
CoordSystem::Scalar ROOT::Math::get (DisplacementVector2D< CoordSystem, Tag > const &p)
template<class CoordSystem, class U>
DisplacementVector2D< CoordSystem, U > ROOT::Math::operator* (typename DisplacementVector2D< CoordSystem, U >::Scalar a, DisplacementVector2D< CoordSystem, U > v)
 Multiplication of a displacement vector by real number a*v.
template<class CoordSystem1, class CoordSystem2, class U>
DisplacementVector2D< CoordSystem1, U > ROOT::Math::operator+ (DisplacementVector2D< CoordSystem1, U > v1, const DisplacementVector2D< CoordSystem2, U > &v2)
 Addition of DisplacementVector2D vectors.
template<class CoordSystem1, class CoordSystem2, class U>
DisplacementVector2D< CoordSystem1, U > ROOT::Math::operator- (DisplacementVector2D< CoordSystem1, U > v1, DisplacementVector2D< CoordSystem2, U > const &v2)
 Difference between two DisplacementVector2D vectors.
template<class char_t, class traits_t, class T, class U>
std::basic_ostream< char_t, traits_t > & ROOT::Math::operator<< (std::basic_ostream< char_t, traits_t > &os, DisplacementVector2D< T, U > const &v)
template<class char_t, class traits_t, class T, class U>
std::basic_istream< char_t, traits_t > & ROOT::Math::operator>> (std::basic_istream< char_t, traits_t > &is, DisplacementVector2D< T, U > &v)