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

Go to the source code of this file.

Functions

_drovector operator* (const double &d, const _drovector &vec)
 

Function Documentation

_drovector operator* ( const double &  d,
const _drovector vec 
)
inline

double*_drovector operator

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

References _drovector::array, and _drovector::l.

4 {CPPL_VERBOSE_REPORT;
5  CPPL_INT inc =1;
6  dscal_(&vec.l, &d, vec.array, &inc);
7  return vec;
8 }
double * array
1D array to store vector data
Definition: _drovector.hpp:11
CPPL_INT l
vector size
Definition: _drovector.hpp:9