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

Go to the source code of this file.

Functions

_zgematrix operator* (const _zhematrix &mat, const comple &d)
_zgematrix operator/ (const _zhematrix &mat, const comple &d)

Function Documentation

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

_zhematrix*comple operator

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

References _(), _zhematrix::n, and _zhematrix::to_zgematrix().

{VERBOSE_REPORT;
  zgematrix newmat( mat.to_zgematrix() );
  zscal_(mat.n*mat.n, d, newmat.array, 1);
  
  return _(newmat);
}
_zgematrix operator/ ( const _zhematrix mat,
const comple &  d 
) [inline]

zhematrix/comple operator

Definition at line 13 of file _zhematrix-complex.hpp.

References _(), _zhematrix::n, and _zhematrix::to_zgematrix().

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