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

Go to the source code of this file.

Functions

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

Function Documentation

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

_dgbmatrix*double operator

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

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

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

_dgbmatrix/double operator

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

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

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