CPPLapack
 All Classes Files Functions Variables Friends Pages
double-_dgbmatrix.hpp
Go to the documentation of this file.
1 //=============================================================================
2 /*! double*_dgbmatrix operator */
3 inline _dgbmatrix operator*(const double& d, const _dgbmatrix& mat)
4 {CPPL_VERBOSE_REPORT;
5  CPPL_INT size =(mat.kl+mat.ku+1)*mat.n;
6  CPPL_INT inc =1;
7  dscal_(&size, &d, mat.array, &inc);
8  return mat;
9 }
_dgbmatrix operator*(const double &d, const _dgbmatrix &mat)
CPPL_INT ku
upper band width
Definition: _dgbmatrix.hpp:12
CPPL_INT kl
lower band width
Definition: _dgbmatrix.hpp:11
CPPL_INT n
matrix column size
Definition: _dgbmatrix.hpp:10
double * array
1D array to store matrix data
Definition: _dgbmatrix.hpp:13
(DO NOT USE) Smart-temporary Real Double-precision General Band Matrix Class
Definition: _dgbmatrix.hpp:3