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

Go to the source code of this file.

Functions

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

Function Documentation

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

_zhematrix*double operator

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

References _zhematrix::array, and _zhematrix::n.

{VERBOSE_REPORT;
  zdscal_(mat.n*mat.n, d, mat.array, 1);
  return mat;
}
_zhematrix operator/ ( const _zhematrix mat,
const double &  d 
) [inline]

_zhematrix/double operator

Definition at line 11 of file _zhematrix-double.hpp.

References _zhematrix::array, and _zhematrix::n.

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