//=============================================================================
/*! _zhsmatrix*std::complex<double> operator */
inline _zhsmatrix operator*(const _zhsmatrix& mat, const std::complex<double>& d)
{
#ifdef CPPL_VERBOSE
std::cerr << "# [MARK] operator*(const _zhsmatrix&, const std::complex<double>&)" << std::endl;
#endif//CPPL_VERBOSE
zscal_(mat.VOL, d, mat.Array, 1);
return mat;
}
//=============================================================================
/*! _zhsmatrix/std::complex<double> operator */
inline _zhsmatrix operator/(const _zhsmatrix& mat, const std::complex<double>& d)
{
#ifdef CPPL_VERBOSE
std::cerr << "# [MARK] operator/(const _zhsmatrix&, const std::complex<double>&)" << std::endl;
#endif//CPPL_VERBOSE
zscal_(mat.VOL, 1./d, mat.Array, 1);
return mat;
}