20 std::cerr <<
"These two matrises can not make a summation." << std::endl
21 <<
"Your input was (" <<
n <<
"x" <<
n <<
") += (" << mat.
n <<
"x" << mat.
n <<
")." << std::endl;
26 for(CPPL_INT j=0; j<
n; j++){
27 for(CPPL_INT
i=j;
i<
n;
i++){
43 std::cerr <<
"These two matrises can not make a sutraction." << std::endl
44 <<
"Your input was (" <<
n <<
"x" <<
n <<
") -= (" << mat.
n <<
"x" << mat.
n <<
")." << std::endl;
49 for(CPPL_INT j=0; j<
n; j++){
50 for(CPPL_INT
i=j;
i<
n;
i++){
70 std::cerr <<
"These two matrises can not make a summation." << std::endl
71 <<
"Your input was (" << matA.
n <<
"x" << matA.
n <<
") + (" << matB.
n <<
"x" << matB.
n <<
")." << std::endl;
76 for(CPPL_INT j=0; j<matA.
n; j++){
77 for(CPPL_INT
i=j;
i<matA.
n;
i++){
92 std::cerr <<
"These two matrises can not make a subtraction." << std::endl
93 <<
"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++){
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 );
(DO NOT USE) Smart-temporary Complex Double-precision Hermitian Matrix Class
void shallow_copy(const _zhematrix &)
zhematrix & operator+=(const zhematrix &)
CPPL_INT n
matrix column size
_dgematrix i(const _dgbmatrix &mat)
_zhematrix operator-(const zhematrix &matA, const _zhematrix &matB)
Complex Double-precision General Dence Matrix Class.
CPPL_INT n
matrix column size
comple * array
1D array to store matrix data
(DO NOT USE) Smart-temporary Complex Double-precision General Dence Matrix Class
friend _zgematrix i(const zhematrix &)
comple * array
1D array to store matrix data
_zhematrix operator+(const zhematrix &matA, const _zhematrix &matB)
comple * array
1D array to store matrix data
CPPL_INT m
matrix row size
_zgematrix operator*(const zhematrix &matA, const _zhematrix &matB)
zhematrix & operator=(const zhematrix &)
Complex Double-precision Hermitian Matrix Class [l-type (UPLO=l) Strage].
comple ** darray
array of pointers of column head addresses
comple ** darray
array of pointers of column head addresses
zhematrix & operator-=(const zhematrix &)
_dcovector _(dcovector &vec)