Go to the source code of this file.
zcovector+zcovector operator
Definition at line 61 of file zcovector-zcovector.hpp.
References _(), zcovector::array, i(), and zcovector::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++){
comple * array
1D array to store vector data
_dgematrix i(const _dgbmatrix &mat)
Complex Double-precision Column Vector Class.
_dcovector _(dcovector &vec)
zcovector-zcovector operator
Definition at line 84 of file zcovector-zcovector.hpp.
References _(), zcovector::array, i(), and zcovector::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++){
comple * array
1D array to store vector data
_dgematrix i(const _dgbmatrix &mat)
Complex Double-precision Column Vector Class.
_dcovector _(dcovector &vec)
zcovector^T*zcovector operator (inner product)
Definition at line 106 of file zcovector-zcovector.hpp.
References zcovector::array, and zcovector::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 129 of file zcovector-zcovector.hpp.
References _(), i(), and zcovector::l.
130 {CPPL_VERBOSE_REPORT;
132 if( vecA.
l!=vecB.
l ){
134 std::cerr <<
"These two vectors can not make Hadamerd product." << std::endl
135 <<
"Your input was (" << vecA.
l <<
") and (" << vecB.
l <<
")." << std::endl;
142 for(CPPL_INT
i=0;
i<newvec.l;
i++){
143 newvec(
i) =vecA(
i)*vecB(
i);
_dgematrix i(const _dgbmatrix &mat)
Complex Double-precision Column Vector Class.
_dcovector _(dcovector &vec)