Go to the source code of this file.
zrovector+zrovector operator
Definition at line 61 of file zrovector-zrovector.hpp.
References _(), zrovector::array, i(), and zrovector::l.
66 std::cerr <<
"These two vectors can not make a sumation." << std::endl
67 <<
"Your input was (" << vecA.
l <<
") + (" << vecB.
l <<
")." << std::endl;
75 for(CPPL_INT
i=0;
i<newvec.l;
i++){
_dgematrix i(const _dgbmatrix &mat)
Complex Double-precision Row Vector Class.
_dcovector _(dcovector &vec)
comple * array
1D array to store vector data
zrovector-zrovector operator
Definition at line 84 of file zrovector-zrovector.hpp.
References _(), zrovector::array, i(), and zrovector::l.
89 std::cerr <<
"These two vectors can not make a subtraction." << std::endl
90 <<
"Your input was (" << vecA.
l <<
") - (" << vecB.
l <<
")." << std::endl;
97 for(CPPL_INT
i=0;
i<newvec.l;
i++){
_dgematrix i(const _dgbmatrix &mat)
Complex Double-precision Row Vector Class.
_dcovector _(dcovector &vec)
comple * array
1D array to store vector data
zrovector^T*zrovector operator (inner product)
Definition at line 106 of file zrovector-zrovector.hpp.
References zrovector::array, and zrovector::l.
107 {CPPL_VERBOSE_REPORT;
111 std::cerr <<
"These two vectors can not make a dot product." << std::endl
112 <<
"Your input was (" << vecA.
l <<
") % (" << vecB.
l <<
")." << std::endl;
118 comple val =zdotu_( &vecA.
l, vecA.
array, &inc, vecB.
array, &inc );
comple * array
1D array to store vector data
return Hadamerd product
Definition at line 128 of file zrovector-zrovector.hpp.
References _(), i(), and zrovector::l.
129 {CPPL_VERBOSE_REPORT;
131 if( vecA.
l!=vecB.
l ){
133 std::cerr <<
"These two vectors can not make Hadamerd product." << std::endl
134 <<
"Your input was (" << vecA.
l <<
") and (" << vecB.
l <<
")." << std::endl;
140 for(CPPL_INT
i=0;
i<newvec.l;
i++){
141 newvec(
i) =vecA(
i)*vecB(
i);
_dgematrix i(const _dgbmatrix &mat)
Complex Double-precision Row Vector Class.
_dcovector _(dcovector &vec)