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