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  zgematrix newmat(mat.M, mat.N);
11  for(long i=0; i<mat.M*mat.N; i++){ newmat.Array[i] =d*mat.Array[i]; }
12 
13  return _(newmat);
14 }
Complex Double-precision General Dence Matrix Class.
Definition: zgematrix.hpp:3
(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