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