library: libCore #include "TComplex.h"

# TComplex

class description - source file - inheritance tree (.pdf)

## class TComplex

| Inheritance Chart:
`TComplex` |

        public:

                          TComplex()
                          TComplex(Double_t re, Double_t im = 0, Bool_t polar = kFALSE)
          static TComplex I()
          static TComplex One()
                 TComplex operator()(Double_t x, Double_t y, Bool_t polar = kFALSE)
                 TComplex operator*(const TComplex& c) const
                 TComplex operator+(const TComplex& c) const
                 TComplex operator/(const TComplex& c) const
                 TComplex operator-(const TComplex& c) const
                 TComplex operator*=(const TComplex& c)
                 TComplex operator+=(const TComplex& c)
                 TComplex operator/=(const TComplex& c)
                 TComplex operator-=(const TComplex& c)
                 TComplex operator-()
                 TComplex operator+()
                 TComplex operator*(Double_t c) const
                 TComplex operator+(Double_t c) const
                 TComplex operator/(Double_t c) const
                 TComplex operator-(Double_t c) const
          static TComplex Sqrt(const TComplex& c)
          static TComplex Exp(const TComplex& c)
          static TComplex Log(const TComplex& c)
          static TComplex Log2(const TComplex& c)
          static TComplex Log10(const TComplex& c)
          static TComplex Sin(const TComplex& c)
          static TComplex Cos(const TComplex& c)
          static TComplex Tan(const TComplex& c)
          static TComplex ASin(const TComplex& c)
          static TComplex ACos(const TComplex& c)
          static TComplex ATan(const TComplex& c)
          static TComplex SinH(const TComplex& c)
          static TComplex CosH(const TComplex& c)
          static TComplex TanH(const TComplex& c)
          static TComplex ASinH(const TComplex& c)
          static TComplex ACosH(const TComplex& c)
          static TComplex ATanH(const TComplex& c)
          static TComplex Power(const TComplex& x, const TComplex& y)
          static TComplex Power(const TComplex& x, Double_t y)
          static TComplex Power(Double_t x, const TComplex& y)
          static TComplex Power(const TComplex& x, Int_t y)
          static TComplex Min(const TComplex& a, const TComplex& b)
          static TComplex Max(const TComplex& a, const TComplex& b)
          static TComplex Normalize(const TComplex& c)
          static TComplex Conjugate(const TComplex& c)
          static TComplex Range(const TComplex& lb, const TComplex& ub, const TComplex& c)
                          TComplex(const TComplex&)
                  virtual ~TComplex()
          static Double_t Abs(const TComplex& c)
           static TClass* Class()
             static Int_t Finite(const TComplex& c)
                 Double_t Im() const
          virtual TClass* IsA() const
             static Int_t IsNaN(const TComplex& c)
                 Double_t operator Double_t() const
                  Float_t operator Float_t() const
                    Int_t operator Int_t() const
                TComplex& operator=(const TComplex&)
                 Double_t Re() const
                 Double_t Rho() const
                 Double_t Rho2() const
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
                 Double_t Theta() const

### Data Members

        protected:

          Double_t fRe  real part
          Double_t fIm  imaginary part

## Class Description

     TComplex

TComplex(Double_t re, Double_t im, Bool_t polar) : fRe(re), fIm(im)

     Standard constructor

### Inline Functions

                   void ~TComplex()
               TComplex TComplex(Double_t re, Double_t im = 0, Bool_t polar = kFALSE)
               TComplex I()
               TComplex One()
               Double_t Re() const
               Double_t Im() const
               Double_t Rho() const
               Double_t Rho2() const
               Double_t Theta() const
               TComplex operator()(Double_t x, Double_t y, Bool_t polar = kFALSE)
               TComplex operator*(const TComplex& c) const
               TComplex operator+(const TComplex& c) const
               TComplex operator/(const TComplex& c) const
               TComplex operator-(const TComplex& c) const
               TComplex operator*=(const TComplex& c)
               TComplex operator+=(const TComplex& c)
               TComplex operator/=(const TComplex& c)
               TComplex operator-=(const TComplex& c)
               TComplex operator-()
               TComplex operator+()
               TComplex operator*(Double_t c) const
               TComplex operator+(Double_t c) const
               TComplex operator/(Double_t c) const
               TComplex operator-(Double_t c) const
               Double_t operator Double_t() const
                Float_t operator Float_t() const
                  Int_t operator Int_t() const
               TComplex Sqrt(const TComplex& c)
               TComplex Exp(const TComplex& c)
               TComplex Log(const TComplex& c)
               TComplex Log2(const TComplex& c)
               TComplex Log10(const TComplex& c)
               TComplex Sin(const TComplex& c)
               TComplex Cos(const TComplex& c)
               TComplex Tan(const TComplex& c)
               TComplex ASin(const TComplex& c)
               TComplex ACos(const TComplex& c)
               TComplex ATan(const TComplex& c)
               TComplex SinH(const TComplex& c)
               TComplex CosH(const TComplex& c)
               TComplex TanH(const TComplex& c)
               TComplex ASinH(const TComplex& c)
               TComplex ACosH(const TComplex& c)
               TComplex ATanH(const TComplex& c)
               Double_t Abs(const TComplex& c)
               TComplex Power(const TComplex& x, const TComplex& y)
               TComplex Power(const TComplex& x, Double_t y)
               TComplex Power(Double_t x, const TComplex& y)
               TComplex Power(const TComplex& x, Int_t y)
                  Int_t Finite(const TComplex& c)
                  Int_t IsNaN(const TComplex& c)
               TComplex Min(const TComplex& a, const TComplex& b)
               TComplex Max(const TComplex& a, const TComplex& b)
               TComplex Normalize(const TComplex& c)
               TComplex Conjugate(const TComplex& c)
               TComplex Range(const TComplex& lb, const TComplex& ub, const TComplex& c)
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
               TComplex TComplex(const TComplex&)
              TComplex& operator=(const TComplex&)

Author: Federico Carminati 22/04/2004
Last update: root/base:$Name: $:$Id: TComplex.cxx,v 1.2 2004/04/22 14:29:09 rdm Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *