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

Go to the source code of this file.

Functions

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

Function Documentation

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

_zgematrix*comple operator

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

References _zgematrix::array, _zgematrix::m, and _zgematrix::n.

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

_zgematrix/comple operator

Definition at line 11 of file _zgematrix-complex.hpp.

References _zgematrix::array, _zgematrix::m, and _zgematrix::n.

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