Go to the source code of this file.
dsymatrix+dgematrix operator
Definition at line 3 of file dsymatrix-dgematrix.hpp.
References _(), i(), dgematrix::m, dsymatrix::n, and dgematrix::n.
6 if(matA.
n!=matB.
n || matA.
n!=matB.
m){
8 std::cerr <<
"These two matrises can not make a summation." << std::endl
9 <<
"Your input was (" << matA.
n <<
"x" << matA.
n <<
") + (" << matB.
m <<
"x" << matB.
n <<
")." << std::endl;
16 for(CPPL_INT
i=0;
i<matA.
n;
i++) {
17 for(CPPL_INT j=0; j<matA.
n; j++) {
18 newmat(
i,j) += matA(
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)
dsymatrix-dgematrix operator
Definition at line 27 of file dsymatrix-dgematrix.hpp.
References _(), i(), dgematrix::m, dsymatrix::n, and dgematrix::n.
30 if(matA.
n!=matB.
n || matA.
n!=matB.
m){
32 std::cerr <<
"These two matrises can not make a summation." << std::endl
33 <<
"Your input was (" << matA.
n <<
"x" << matA.
n <<
") + (" << matB.
m <<
"x" << matB.
n <<
")." << std::endl;
40 for(CPPL_INT
i=0;
i<matA.
n;
i++){
41 for(CPPL_INT j=0; j<matA.
n; j++){
42 newmat(
i,j) += matA(
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)
dsymatrix*dgematrix operator
Definition at line 52 of file dsymatrix-dgematrix.hpp.
References _(), dgematrix::array, dsymatrix::array, dgematrix::m, dgematrix::n, and dsymatrix::n.
57 std::cerr <<
"These two matrises can not make a product." << std::endl
58 <<
"Your input was (" << matA.
n <<
"x" << matA.
n <<
") * (" << matB.
m <<
"x" << matB.
n <<
")." << std::endl;
69 dsymm_( &side, &uplo, &matA.
n, &matB.
n, &alpha, matA.
array, &matA.
n, matB.
array, &matB.
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.
CPPL_INT n
matrix column size
double * array
1D array to store matrix data
_dcovector _(dcovector &vec)