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