15 inline zhecomplex(
const CPPL_INT&,
const CPPL_INT&, comple&);
33 : comple( _i < _j ? std::
conj( _v ) : _v ),
49 if(
i==
j && std::fabs(_v.imag()) > DBL_MIN ){
51 std::cerr <<
"Diagonal components of a hermitian matrix have to be real numbers." << std::endl
52 <<
"Your input to the (" <<
i <<
"," <<
j <<
") element was a complex number, " << _v <<
"." << std::endl;
72 if(
i==
j && std::fabs(_v.imag()) > DBL_MIN ){
74 std::cerr <<
"Diagonal components of a hermitian matrix have to be real numbers." << std::endl
75 <<
"Your input to the (" <<
i <<
"," <<
j <<
") element was a complex number, " << _v <<
"." << std::endl;
93 if(
i==
j && std::fabs(_v.imag()) > DBL_MIN ){
95 std::cerr <<
"Diagonal components of a hermitian matrix have to be real numbers." << std::endl
96 <<
"Your input to the (" <<
i <<
"," <<
j <<
") element was a complex number, " << _v <<
"." << std::endl;
112 {CPPL_VERBOSE_REPORT;
114 if(
i==
j && std::fabs(_v.imag()) > DBL_MIN ){
116 std::cerr <<
"Diagonal components of a hermitian matrix have to be real numbers." << std::endl
117 <<
"Your input to the (" <<
i <<
"," <<
j <<
") element was a complex number, " << _v <<
"." << std::endl;
zhecomplex & operator=(const comple &)
zhecomplex & operator-=(const comple &)
_zcovector conj(const _zcovector &vec)
zhecomplex(const CPPL_INT &, const CPPL_INT &, comple &)
(DO NOT USE) Complex-double Class for Hermitian matrices
zhecomplex & operator+=(const comple &)
zhecomplex & operator*=(const comple &)