Logo ROOT   6.07/09
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
RooComplex Class Reference

Class RooComplex is a simple container class for complex values.

Definition at line 35 of file RooComplex.h.

Public Member Functions

 RooComplex (std::complex< Double_t > c)
 
 RooComplex (Double_t a=0, Double_t b=0)
 
virtual ~RooComplex ()
 
Double_t abs () const
 
Double_t abs2 () const
 
RooComplex conj () const
 
RooComplex exp () const
 
Double_t im () const
 
RooComplex operator* (const RooComplex &other) const
 
RooComplex operator* (const Double_t &other) const
 
RooComplex operator+ (const RooComplex &other) const
 
RooComplex operator- () const
 
RooComplex operator- (const RooComplex &other) const
 
RooComplex operator/ (const RooComplex &other) const
 
RooComplexoperator= (const RooComplex &other)
 
Bool_t operator== (const RooComplex &other) const
 
void Print () const
 WVE Solaric CC5.0 complains about this. More...
 
Double_t re () const
 
RooComplex sqrt () const
 

Private Member Functions

void warn () const
 

Private Attributes

Double_t _im
 
Double_t _re
 

#include <RooComplex.h>

Constructor & Destructor Documentation

RooComplex::RooComplex ( std::complex< Double_t c)
inline

Definition at line 38 of file RooComplex.h.

RooComplex::RooComplex ( Double_t  a = 0,
Double_t  b = 0 
)
inline

Definition at line 40 of file RooComplex.h.

virtual RooComplex::~RooComplex ( )
inlinevirtual

Definition at line 41 of file RooComplex.h.

Member Function Documentation

Double_t RooComplex::abs ( ) const
inline

Definition at line 85 of file RooComplex.h.

Double_t RooComplex::abs2 ( ) const
inline

Definition at line 88 of file RooComplex.h.

RooComplex RooComplex::conj ( ) const
inline

Definition at line 95 of file RooComplex.h.

RooComplex RooComplex::exp ( ) const
inline

Definition at line 91 of file RooComplex.h.

Double_t RooComplex::im ( ) const
inline

Definition at line 82 of file RooComplex.h.

RooComplex RooComplex::operator* ( const RooComplex other) const
inline

Definition at line 60 of file RooComplex.h.

RooComplex RooComplex::operator* ( const Double_t other) const
inline

Definition at line 69 of file RooComplex.h.

RooComplex RooComplex::operator+ ( const RooComplex other) const
inline

Definition at line 54 of file RooComplex.h.

RooComplex RooComplex::operator- ( ) const
inline

Definition at line 50 of file RooComplex.h.

RooComplex RooComplex::operator- ( const RooComplex other) const
inline

Definition at line 57 of file RooComplex.h.

RooComplex RooComplex::operator/ ( const RooComplex other) const
inline

Definition at line 64 of file RooComplex.h.

RooComplex& RooComplex::operator= ( const RooComplex other)
inline

Definition at line 42 of file RooComplex.h.

Bool_t RooComplex::operator== ( const RooComplex other) const
inline

Definition at line 74 of file RooComplex.h.

void RooComplex::Print ( void  ) const

WVE Solaric CC5.0 complains about this.

Definition at line 48 of file RooComplex.cxx.

Double_t RooComplex::re ( ) const
inline

Definition at line 79 of file RooComplex.h.

RooComplex RooComplex::sqrt ( ) const
inline

Definition at line 98 of file RooComplex.h.

void RooComplex::warn ( ) const
private

Definition at line 36 of file RooComplex.cxx.

Member Data Documentation

Double_t RooComplex::_im
private

Definition at line 106 of file RooComplex.h.

Double_t RooComplex::_re
private

Definition at line 106 of file RooComplex.h.


The documentation for this class was generated from the following files: