8 std::cerr <<
"These two matrises can not make a summation." << std::endl
9 <<
"Your input was (" << matA.
n <<
"x" << matA.
n <<
") + (" << matB.
n <<
"x" << matB.
n <<
")." << std::endl;
14 for(CPPL_INT j=0; j<matA.
n; j++){
15 for(CPPL_INT
i=j;
i<matA.
n;
i++){
31 std::cerr <<
"These two matrises can not make a subtraction." << std::endl
32 <<
"Your input was (" << matA.
n <<
"x" << matA.
n <<
") - (" << matB.
n <<
"x" << matB.
n <<
")." << std::endl;
37 for(CPPL_INT j=0; j<matA.
n; j++){
38 for(CPPL_INT
i=j;
i<matA.
n;
i++){
54 std::cerr <<
"These two matrises can not make a product." << std::endl
55 <<
"Your input was (" << matA.
n <<
"x" << matA.
n <<
") * (" << matB.
n <<
"x" << matB.
n <<
")." << std::endl;
65 comple alpha =comple(1.,0.);
66 comple beta =comple(0.,0.);
68 zhemm_( &side, &uplo, &matA.
n, &matB.
n, &alpha, matA.
array, &matA.
n, matB.
array, &matB.
n, &beta, newmat.
array, &newmat.
m );
(DO NOT USE) Smart-temporary Complex Double-precision Hermitian Matrix Class
CPPL_INT n
matrix column size
_dgematrix i(const _dgbmatrix &mat)
_zgematrix operator*(const _zhematrix &matA, const _zhematrix &matB)
Complex Double-precision General Dence Matrix Class.
comple * array
1D array to store matrix data
(DO NOT USE) Smart-temporary Complex Double-precision General Dence Matrix Class
comple * array
1D array to store matrix data
_zhematrix operator-(const _zhematrix &matA, const _zhematrix &matB)
CPPL_INT m
matrix row size
comple ** darray
array of pointers of column head addresses
_zhematrix operator+(const _zhematrix &matA, const _zhematrix &matB)
_dcovector _(dcovector &vec)