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

Go to the source code of this file.

Functions

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

Function Documentation

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

double*_zhematrix operator

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

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

4 {CPPL_VERBOSE_REPORT;
5  CPPL_INT size =mat.n*mat.n;
6  CPPL_INT inc =1;
7  zdscal_(&size, &d, mat.array, &inc);
8  return mat;
9 }
CPPL_INT n
matrix column size
Definition: _zhematrix.hpp:11
comple * array
1D array to store matrix data
Definition: _zhematrix.hpp:12