22 std::cerr <<
"These two vectors can not make a sumation." << std::endl
23 <<
"Your input was (" <<
l <<
") += (" << vec.
l <<
")." << std::endl;
40 std::cerr <<
"These two vectors can not make a subtraction." << std::endl
41 <<
"Your input was (" <<
l <<
") -= (" << vec.
l <<
")." << std::endl;
62 std::cerr <<
"These two vectors can not make a sumation." << std::endl
63 <<
"Your input was (" << vecA.
l <<
") + (" << vecB.
l <<
")." << std::endl;
70 for(CPPL_INT
i=0;
i<newvec.
l;
i++){
84 std::cerr <<
"These two vectors can not make a subtraction." << std::endl
85 <<
"Your input was (" << vecA.
l <<
") - (" << vecB.
l <<
")." << std::endl;
91 for(CPPL_INT
i=0;
i<newvec.
l;
i++){
101 {CPPL_VERBOSE_REPORT;
105 std::cerr <<
"These two vectors can not make a dot product." << std::endl
106 <<
"Your input was (" << vecA.
l <<
") % (" << vecB.
l <<
")." << std::endl;
113 double val( ddot_( &vecA.
l, vecA.
array, &inc, vecB.
array, &inc ) );
125 {CPPL_VERBOSE_REPORT;
127 if( vecA.
l!=vecB.
l ){
129 std::cerr <<
"These two vectors can not make Hadamerd product." << std::endl
130 <<
"Your input was (" << vecA.
l <<
") and (" << vecB.
l <<
")." << std::endl;
136 for(CPPL_INT
i=0;
i<newvec.
l;
i++){
137 newvec(
i) =vecA(
i)*vecB(
i);
_dgematrix i(const _dgbmatrix &mat)
dcovector & operator=(const dcovector &)
_dcovector operator+(const dcovector &vecA, const dcovector &vecB)
double * array
1D array to store vector data
double operator%(const dcovector &vecA, const dcovector &vecB)
dcovector & operator+=(const dcovector &)
void copy(const dcovector &)
Real Double-precision Column Vector Class.
(DO NOT USE) Smart-temporary Real Double-precision Column Vector Class
_dcovector _(dcovector &vec)
_dcovector operator-(const dcovector &vecA, const dcovector &vecB)
_dcovector hadamerd(const dcovector &vecA, const dcovector &vecB)
dcovector & operator-=(const dcovector &)