ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 ()
 
RooComplexoperator= (const RooComplex &other)
 
RooComplex operator- () const
 
RooComplex operator+ (const RooComplex &other) const
 
RooComplex operator- (const RooComplex &other) const
 
RooComplex operator* (const RooComplex &other) const
 
RooComplex operator/ (const RooComplex &other) const
 
RooComplex operator* (const Double_t &other) const
 
Bool_t operator== (const RooComplex &other) const
 
Double_t re () const
 
Double_t im () const
 
Double_t abs () const
 
Double_t abs2 () const
 
RooComplex exp () const
 
RooComplex conj () const
 
RooComplex sqrt () const
 
void Print () const
 WVE Solaric CC5.0 complains about this. More...
 

Private Member Functions

void warn () const
 

Private Attributes

Double_t _re
 
Double_t _im
 

#include <RooComplex.h>

Constructor & Destructor Documentation

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

Definition at line 38 of file RooComplex.h.

Referenced by conj(), exp(), operator*(), operator+(), operator-(), operator/(), and sqrt().

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.

Referenced by operator/().

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
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
RooComplex RooComplex::sqrt ( ) const
inline

Definition at line 98 of file RooComplex.h.

void RooComplex::warn ( ) const
private

Referenced by operator=(), and RooComplex().

Member Data Documentation

Double_t RooComplex::_im
private
Double_t RooComplex::_re
private

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