My Project
complex-zssmatrix.hpp
1 //=============================================================================
3 inline _zssmatrix operator*(const std::complex<double>& d, const zssmatrix& mat)
4 {
5 #ifdef CPPL_VERBOSE
6  std::cerr << "# [MARK] operator*(const std::complex<double>&, const zssmatrix&)"
7  << std::endl;
8 #endif//CPPL_VERBOSE
9 
10  zssmatrix newmat(mat.M, mat.N, mat.CAP);
11  for(long i=0; i<mat.VOL; i++){ newmat.Array[i] =d*mat.Array[i]; }
12 
13  return _(newmat);
14 }
(DO NOT USE) Smart-temporary Complex Double-precision Sparse Matrix Class
Definition: _zssmatrix.hpp:3
friend _zrovector operator*(const zrovector &, const zgematrix &)
Definition: zrovector-zgematrix.hpp:3
Complex Double-precision Sparse Matrix Class.
Definition: zssmatrix.hpp:3