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

Go to the source code of this file.

Functions

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

Function Documentation

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

comple*_zgbmatrix operator

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

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

4 {CPPL_VERBOSE_REPORT;
5  CPPL_INT size =(mat.kl+mat.ku+1)*mat.n;
6  CPPL_INT inc =1;
7  zscal_(&size, &d, mat.array, &inc);
8  return mat;
9 }
CPPL_INT ku
upper band width
Definition: _zgbmatrix.hpp:12
CPPL_INT kl
lower band width
Definition: _zgbmatrix.hpp:11
comple * array
1D array to store matrix data
Definition: _zgbmatrix.hpp:13
CPPL_INT n
matrix column size
Definition: _zgbmatrix.hpp:10