22 std::cerr <<
"These two vectors can not make a sumation." << std::endl
23 <<
"Your input was (" <<
l <<
") += (" << vec.
l <<
")." << std::endl;
28 for(CPPL_INT
i=0;
i<
l;
i++){
42 std::cerr <<
"These two vectors can not make a subtraction." << std::endl
43 <<
"Your input was (" <<
l <<
") -= (" << vec.
l <<
")." << std::endl;
48 for(CPPL_INT
i=0;
i<
l;
i++){
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++){
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++){
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 );
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);
comple * array
1D array to store vector data
_zcovector hadamerd(const zcovector &vecA, const zcovector &vecB)
zcovector & operator=(const zcovector &)
comple operator%(const zcovector &vecA, const zcovector &vecB)
_dgematrix i(const _dgbmatrix &mat)
zcovector & operator-=(const zcovector &)
void copy(const zcovector &)
_zcovector operator-(const zcovector &vecA, const zcovector &vecB)
Complex Double-precision Column Vector Class.
(DO NOT USE) Smart-temporary Complex Double-precision Column Vector Class
_dcovector _(dcovector &vec)
_zcovector operator+(const zcovector &vecA, const zcovector &vecB)
zcovector & operator+=(const zcovector &)