VERB_code_2.3
complex-_zgematrix.hpp
1 //=============================================================================
3 inline _zgematrix operator*(const std::complex<double>& d, const _zgematrix& mat)
4 {
5 #ifdef CPPL_VERBOSE
6  std::cerr << "# [MARK] operator*(const std::complex<double>&, const _zgematrix&)"
7  << std::endl;
8 #endif//CPPL_VERBOSE
9 
10  zscal_(mat.M*mat.N, d, mat.Array, 1);
11  return mat;
12 }
long N
matrix column size
Definition: _zgematrix.hpp:8
std::complex< double > * Array
1D Array to store matrix data
Definition: _zgematrix.hpp:9
(DO NOT USE) Smart-temporary Complex Double-precision General Dence Matrix Class
Definition: _zgematrix.hpp:3
friend _zrovector operator*(const zrovector &, const zgematrix &)
Definition: zrovector-zgematrix.hpp:3
long M
matrix row size
Definition: _zgematrix.hpp:7