CPPLapack
 All Classes Files Functions Variables Friends
double-dgbmatrix.hpp
Go to the documentation of this file.
00001 //=============================================================================
00002 /*! double*dgbmatrix operator */
00003 inline _dgbmatrix operator*(const double& d, const dgbmatrix& mat)
00004 {VERBOSE_REPORT;
00005   dgbmatrix newmat(mat.m, mat.n, mat.kl, mat.ku);
00006   for(long i=0; i<(newmat.kl+newmat.ku+1)*newmat.n; i++){
00007     newmat.array[i] =d*mat.array[i];
00008   }
00009   return _(newmat);
00010 }
 All Classes Files Functions Variables Friends