Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 147 of file TVector2.h.

◆ operator*() [2/3]

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

Definition at line 155 of file TVector2.h.

◆ operator*() [3/3]

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

Definition at line 151 of file TVector2.h.

◆ operator+() [1/3]

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

Definition at line 127 of file TVector2.h.

◆ operator+() [2/3]

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

Definition at line 131 of file TVector2.h.

◆ operator+() [3/3]

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

Definition at line 135 of file TVector2.h.

◆ operator-() [1/2]

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

Definition at line 139 of file TVector2.h.

◆ operator-() [2/2]

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

Definition at line 143 of file TVector2.h.

◆ operator/()

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

Definition at line 159 of file TVector2.h.

◆ operator^()

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

Definition at line 163 of file TVector2.h.