Go to the source code of this file.
dgematrix+_dsymatrix operator
Definition at line 79 of file dgematrix-_dsymatrix.hpp.
References _(), _dsymatrix::destroy(), i(), dgematrix::m, dgematrix::n, and _dsymatrix::n.
82 if(matA.
n!=matB.
n || matA.
m!=matB.
n){
84 std::cerr <<
"These two matrises can not make a summation." << std::endl
85 <<
"Your input was (" << matA.
m <<
"x" << matA.
n <<
") + (" << matB.
n <<
"x" << matB.
n <<
")." << std::endl;
91 for(CPPL_INT
i=0;
i<matA.
m;
i++){
92 for(CPPL_INT j=0; j<matA.
n; j++){
93 newmat(
i,j) += matB(
i,j);
CPPL_INT m
matrix row size
_dgematrix i(const _dgbmatrix &mat)
CPPL_INT n
matrix column size
Real Double-precision General Dence Matrix Class.
CPPL_INT n
matrix column size
_dcovector _(dcovector &vec)
dgematrix-_dsymatrix operator
Definition at line 103 of file dgematrix-_dsymatrix.hpp.
References _(), _dsymatrix::destroy(), i(), dgematrix::m, dgematrix::n, and _dsymatrix::n.
104 {CPPL_VERBOSE_REPORT;
106 if(matA.
n!=matB.
n || matA.
m!=matB.
n){
108 std::cerr <<
"These two matrises can not make a subtraction." << std::endl
109 <<
"Your input was (" << matA.
m <<
"x" << matA.
n <<
") - (" << matB.
n <<
"x" << matB.
n <<
")." << std::endl;
115 for(CPPL_INT
i=0;
i<matA.
m;
i++){
116 for(CPPL_INT j=0; j<matA.
n; j++){
117 newmat(
i,j) -= matB(
i,j);
CPPL_INT m
matrix row size
_dgematrix i(const _dgbmatrix &mat)
CPPL_INT n
matrix column size
Real Double-precision General Dence Matrix Class.
CPPL_INT n
matrix column size
_dcovector _(dcovector &vec)
dgematrix*_dsymatrix operator
Definition at line 127 of file dgematrix-_dsymatrix.hpp.
References _(), dgematrix::array, _dsymatrix::array, _dsymatrix::destroy(), dgematrix::m, dgematrix::n, and _dsymatrix::n.
128 {CPPL_VERBOSE_REPORT;
132 std::cerr <<
"These two matrises can not make a product." << std::endl
133 <<
"Your input was (" << matA.
m <<
"x" << matA.
n <<
") * (" << matB.
n <<
"x" << matB.
n <<
")." << std::endl;
144 dsymm_( &side, &uplo, &newmat.m, &newmat.n, &alpha, matB.
array, &matB.
n, matA.
array, &matA.
m, &beta, newmat.array, &newmat.m );
CPPL_INT m
matrix row size
double * array
1D array to store matrix data
CPPL_INT n
matrix column size
Real Double-precision General Dence Matrix Class.
double * array
1D array to store matrix data
CPPL_INT n
matrix column size
_dcovector _(dcovector &vec)