std::std::complex< ThePEG::Qty< 0, 0, 0, DL, DE, DQ > > Class Template Reference

Template specialization for std::complex<Qty<0,0,0> > with conversions to complex<double>. More...

#include <PhysicalQtyComplex.h>

List of all members.

Public Member Functions

 complex (double r=0.0, double i=0.0)
 Default constructor.
 complex (complex< double > C)
 Constructor from complex<double>.
complex< double > rawValue () const
 The internal representation of the dimensionful quantity.
double real () const
 Real part.
double imag () const
 Imaginary part.
 operator complex< double > () const
 Cast to complex<double>.
complex< ThePEG::Qty
< 0, 0, 0, DL, DE, DQ > > & 
operator+= (const complex< ThePEG::Qty< 0, 0, 0, DL, DE, DQ > > x)
 Addition-assignment.
complex< ThePEG::Qty
< 0, 0, 0, DL, DE, DQ > > & 
operator-= (const complex< ThePEG::Qty< 0, 0, 0, DL, DE, DQ > > x)
 Subtraction-assignment.

Private Attributes

complex< double > rawValue_
 Internal value of the dimensioned quantity.


Detailed Description

template<int DL, int DE, int DQ>
class std::std::complex< ThePEG::Qty< 0, 0, 0, DL, DE, DQ > >

Template specialization for std::complex<Qty<0,0,0> > with conversions to complex<double>.

Definition at line 23 of file PhysicalQtyComplex.h.


Member Function Documentation

template<int DL, int DE, int DQ>
complex<double> std::std::complex< ThePEG::Qty< 0, 0, 0, DL, DE, DQ > >::rawValue (  )  const [inline]

The internal representation of the dimensionful quantity.

Using this will break dimension-consistency.

Definition at line 38 of file PhysicalQtyComplex.h.


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

Generated on Thu Apr 29 12:42:56 2010 for ThePEG by  doxygen 1.5.5