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 _(), _zhematrix::destroy(), _zhematrix::n, and _zhematrix::to_zgematrix().

{VERBOSE_REPORT;
  zgematrix newmat( mat.to_zgematrix() );
  zscal_(mat.n*mat.n, d, newmat.array, 1);
  
  mat.destroy();
  return _(newmat);
}
 All Classes Files Functions Variables Friends