My Project
double-_zssmatrix.hpp
1 //=============================================================================
3 inline _zssmatrix operator*(const double& d, const _zssmatrix& mat)
4 {
5 #ifdef CPPL_VERBOSE
6  std::cerr << "# [MARK] operator*(const double&, const _zssmatrix&)"
7  << std::endl;
8 #endif//CPPL_VERBOSE
9 
10  zdscal_(mat.VOL, d, mat.Array, 1);
11  return mat;
12 }
long VOL
the number of non-zero components
Definition: _zssmatrix.hpp:10
(DO NOT USE) Smart-temporary Complex Double-precision Sparse Matrix Class
Definition: _zssmatrix.hpp:3
std::complex< double > * Array
1D array to store non-zero matrix data
Definition: _zssmatrix.hpp:11
friend _drovector operator*(const drovector &, const dgematrix &)
Definition: drovector-dgematrix.hpp:3