My Project
double-_zgbmatrix.hpp
1 //=============================================================================
3 inline _zgbmatrix operator*(const double& d, const _zgbmatrix& mat)
4 {
5 #ifdef CPPL_VERBOSE
6  std::cerr << "# [MARK] operator*(const double&, const _zgbmatrix&)"
7  << std::endl;
8 #endif//CPPL_VERBOSE
9 
10  zdscal_((mat.KL+mat.KU+1)*mat.N, d, mat.Array, 1);
11  return mat;
12 }
std::complex< double > * Array
1D Array to store matrix data
Definition: _zgbmatrix.hpp:11
long N
matrix column size
Definition: _zgbmatrix.hpp:8
long KU
upper band width
Definition: _zgbmatrix.hpp:10
(DO NOT USE) Smart-temporary Complex Double-precision General Band Matrix Class
Definition: _zgbmatrix.hpp:3
friend _drovector operator*(const drovector &, const dgematrix &)
Definition: drovector-dgematrix.hpp:3
long KL
lower band width
Definition: _zgbmatrix.hpp:9