CPPLapack
 All Classes Files Functions Variables Friends
Functions
double-zhematrix.hpp File Reference

Go to the source code of this file.

Functions

_zhematrix operator* (const double &d, const zhematrix &mat)

Function Documentation

_zhematrix operator* ( const double &  d,
const zhematrix mat 
) [inline]

double*zhematrix operator

Definition at line 3 of file double-zhematrix.hpp.

References _(), zhematrix::array, i(), and zhematrix::n.

{VERBOSE_REPORT;
  zhematrix newmat(mat.n);
  for(long i=0; i<mat.n*mat.n; i++){ newmat.array[i] =d*mat.array[i]; }  
  return _(newmat);
}
 All Classes Files Functions Variables Friends