VERB_code_2.3
double-_dsymatrix.hpp
1 //=============================================================================
3 inline _dsymatrix operator*(const double& d, const _dsymatrix& mat)
4 {
5 #ifdef CPPL_VERBOSE
6  std::cerr << "# [MARK] operator*(const double&, const _dsymatrix&)"
7  << std::endl;
8 #endif//CPPL_VERBOSE
9 
10  dscal_(mat.N*mat.N, d, mat.Array, 1);
11  return mat;
12 }
double * Array
1D Array to store matrix data
Definition: _dsymatrix.hpp:8
friend _drovector operator*(const drovector &, const dgematrix &)
Definition: drovector-dgematrix.hpp:3
long N
matrix column or row size
Definition: _dsymatrix.hpp:7
(DO NOT USE) Smart-temporary Real Double-precision Symmetric Matrix Class
Definition: _dsymatrix.hpp:3