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

Go to the source code of this file.

Functions

_zgematrix operator* (const comple &d, const zhematrix &mat)

Function Documentation

_zgematrix operator* ( const comple &  d,
const zhematrix mat 
) [inline]

comple*zhematrix operator

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

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

{VERBOSE_REPORT;
  mat.complete();
  zgematrix newmat(mat.n, 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