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

Go to the source code of this file.

Functions

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

Function Documentation

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

_zgbmatrix*comple operator

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

References _zgbmatrix::array, _zgbmatrix::kl, _zgbmatrix::ku, and _zgbmatrix::n.

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

_zgbmatrix/comple operator

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

References _zgbmatrix::array, _zgbmatrix::kl, _zgbmatrix::ku, and _zgbmatrix::n.

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