CPPLapack
 All Classes Files Functions Variables Friends Pages
_zrovector-unary.hpp
Go to the documentation of this file.
1 //=============================================================================
2 /*! +_zrovector operator */
3 inline const _zrovector& operator+(const _zrovector& vec)
4 {CPPL_VERBOSE_REPORT;
5  return vec;
6 }
7 
8 //=============================================================================
9 /*! -_zrovector operator */
10 inline _zrovector operator-(const _zrovector& vec)
11 {CPPL_VERBOSE_REPORT;
12  for(CPPL_INT i=0; i<vec.l; i++){ vec.array[i]=-vec.array[i]; }
13  return vec;
14 }
const _zrovector & operator+(const _zrovector &vec)
_dgematrix i(const _dgbmatrix &mat)
CPPL_INT l
vector size
Definition: _zrovector.hpp:9
(DO NOT USE) Smart-temporary Complex Double-precision Row Vector Class
Definition: _zrovector.hpp:3
comple * array
1D array to store vector data
Definition: _zrovector.hpp:10
_zrovector operator-(const _zrovector &vec)