#include <TComplex.h>
Public Member Functions | |
| TCplxRhoPhi (Double_t x, Double_t y) | |
| Double_t | GetRho () |
| Double_t | GetPhi () |
| void | Sqrt () |
Protected Attributes | |
| Double_t | fRho |
| Double_t | fPhi |
|
||||||||||||
|
Definition at line 33 of file TComplex.h. References fPhi, fRho, and Sqrt().
00033 { fRho = TMath::Sqrt(x*x+y*y);
00034 fPhi = atan2(y,x); }
|
|
|
Definition at line 36 of file TComplex.h. References fPhi. Referenced by TComplex::FromRhoPhi(), Log(), Log10(), Log2(), and Sqrt3().
00036 { return fPhi; }
|
|
|
Definition at line 35 of file TComplex.h. References fRho. Referenced by TComplex::FromRhoPhi(), Log(), Log10(), Log2(), and Sqrt3().
00035 { return fRho; }
|
|
|
Definition at line 37 of file TComplex.h. References fPhi, fRho, and Sqrt(). Referenced by Sqrt().
00037 { fRho = TMath::Sqrt(fRho); fPhi = fPhi/2.0; }
|
|
|
Definition at line 31 of file TComplex.h. Referenced by GetPhi(), Sqrt(), and TCplxRhoPhi(). |
|
|
Definition at line 30 of file TComplex.h. Referenced by GetRho(), Sqrt(), and TCplxRhoPhi(). |
1.3.2