ThePEG
1.8.0
|
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. | |
Template specialization for std::complex<Qty<0,0,0> > with conversions to complex<double>
Definition at line 23 of file PhysicalQtyComplex.h.
|
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-=().