Logo ROOT   6.18/05
Reference Guide
Classes | Functions
TVector2.h File Reference
#include "TObject.h"
Include dependency graph for TVector2.h:
This graph shows which files directly or indirectly include this file:

Classes

class  TVector2
 TVector2 is a general two vector class, which can be used for the description of different vectors in 2D. More...
 

Functions

TVector2 operator* (const TVector2 &v, Double_t s)
 
Double_t operator* (const TVector2 &v1, const TVector2 &v2)
 
TVector2 operator* (Double_t s, const TVector2 &v)
 
TVector2 operator+ (const TVector2 &v1, const TVector2 &v2)
 
TVector2 operator+ (const TVector2 &v1, Double_t bias)
 
TVector2 operator+ (Double_t bias, const TVector2 &v1)
 
TVector2 operator- (const TVector2 &v1, const TVector2 &v2)
 
TVector2 operator- (const TVector2 &v1, Double_t bias)
 
TVector2 operator/ (const TVector2 &v, Double_t s)
 
Double_t operator^ (const TVector2 &v1, const TVector2 &v2)
 

Function Documentation

◆ operator*() [1/3]

TVector2 operator* ( const TVector2 v,
Double_t  s 
)
inline

Definition at line 146 of file TVector2.h.

◆ operator*() [2/3]

Double_t operator* ( const TVector2 v1,
const TVector2 v2 
)
inline

Definition at line 154 of file TVector2.h.

◆ operator*() [3/3]

TVector2 operator* ( Double_t  s,
const TVector2 v 
)
inline

Definition at line 150 of file TVector2.h.

◆ operator+() [1/3]

TVector2 operator+ ( const TVector2 v1,
const TVector2 v2 
)
inline

Definition at line 126 of file TVector2.h.

◆ operator+() [2/3]

TVector2 operator+ ( const TVector2 v1,
Double_t  bias 
)
inline

Definition at line 130 of file TVector2.h.

◆ operator+() [3/3]

TVector2 operator+ ( Double_t  bias,
const TVector2 v1 
)
inline

Definition at line 134 of file TVector2.h.

◆ operator-() [1/2]

TVector2 operator- ( const TVector2 v1,
const TVector2 v2 
)
inline

Definition at line 138 of file TVector2.h.

◆ operator-() [2/2]

TVector2 operator- ( const TVector2 v1,
Double_t  bias 
)
inline

Definition at line 142 of file TVector2.h.

◆ operator/()

TVector2 operator/ ( const TVector2 v,
Double_t  s 
)
inline

Definition at line 158 of file TVector2.h.

◆ operator^()

Double_t operator^ ( const TVector2 v1,
const TVector2 v2 
)
inline

Definition at line 162 of file TVector2.h.