8 std::cerr <<
"These matrix and vector can not make a product." << std::endl
9 <<
"Your input was (" << mat.
m <<
"x" << mat.
n <<
") * (" << vec.
l <<
")." << std::endl;
16 comple alpha =comple(1.,0.);
18 comple beta =comple(0.,0.);
20 zgemv_( &trans, &mat.
m, &mat.
n, &alpha, mat.
array, &mat.
m, vec.
array, &inc, &beta, newvec.
array, &inc );
comple * array
1D array to store vector data
_zcovector operator*(const zgematrix &mat, const _zcovector &vec)
CPPL_INT n
matrix column size
Complex Double-precision General Dence Matrix Class.
comple * array
1D array to store matrix data
comple * array
1D array to store vector data
CPPL_INT m
matrix row size
Complex Double-precision Column Vector Class.
(DO NOT USE) Smart-temporary Complex Double-precision Column Vector Class
_dcovector _(dcovector &vec)