ThePEG  1.8.0
Public Member Functions | Private Attributes | List of all members
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>

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. More...
 
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::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::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.

Referenced by operator+=(), and operator-=().


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