Go to the source code of this file.
zhematrix+zhematrix operator
Definition at line 61 of file zhematrix-zhematrix.hpp.
References _(), zhematrix::darray, i(), and zhematrix::n.
66 std::cerr <<
"These two matrises can not make a summation." << std::endl
67 <<
"Your input was (" << matA.
n <<
"x" << matA.
n <<
") + (" << matB.
n <<
"x" << matB.
n <<
")." << std::endl;
74 for(CPPL_INT j=0; j<matA.
n; j++){
75 for(CPPL_INT
i=j;
i<matA.
n;
i++){
_dgematrix i(const _dgbmatrix &mat)
CPPL_INT n
matrix column size
Complex Double-precision Hermitian Matrix Class [l-type (UPLO=l) Strage].
comple ** darray
array of pointers of column head addresses
_dcovector _(dcovector &vec)
zhematrix-zhematrix operator
Definition at line 85 of file zhematrix-zhematrix.hpp.
References _(), zhematrix::darray, i(), and zhematrix::n.
90 std::cerr <<
"These two matrises can not make a subtraction." << std::endl
91 <<
"Your input was (" << matA.
n <<
"x" << matA.
n <<
") - (" << matB.
n <<
"x" << matB.
n <<
")." << std::endl;
98 for(CPPL_INT j=0; j<matA.
n; j++){
99 for(CPPL_INT
i=j;
i<matA.
n;
i++){
_dgematrix i(const _dgbmatrix &mat)
CPPL_INT n
matrix column size
Complex Double-precision Hermitian Matrix Class [l-type (UPLO=l) Strage].
comple ** darray
array of pointers of column head addresses
_dcovector _(dcovector &vec)
zhematrix*zhematrix operator
Definition at line 109 of file zhematrix-zhematrix.hpp.
References _(), zgematrix::array, zhematrix::array, zhematrix::complete(), zgematrix::m, and zhematrix::n.
110 {CPPL_VERBOSE_REPORT;
114 std::cerr <<
"These two matrises can not make a product." << std::endl
115 <<
"Your input was (" << matA.
n <<
"x" << matA.
n <<
") * (" << matB.
n <<
"x" << matB.
n <<
")." << std::endl;
125 comple alpha =comple(1.,0.);
126 comple beta =comple(0.,0.);
128 zhemm_( &side, &uplo, &matA.
n, &matB.
n, &alpha, matA.
array, &matA.
n, matB.
array, &matB.
n, &beta, newmat.array, &newmat.m );
Complex Double-precision General Dence Matrix Class.
CPPL_INT n
matrix column size
comple * array
1D array to store matrix data
_dcovector _(dcovector &vec)