#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. | |
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. |
Definition at line 23 of file PhysicalQtyComplex.h.
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.