Go to the source code of this file.
dgematrix+_dgematrix operator
Definition at line 89 of file dgematrix-_dgematrix.hpp.
References _dgematrix::array, dgematrix::array, i(), _dgematrix::m, dgematrix::m, dgematrix::n, and _dgematrix::n.
92 if(matA.
n!=matB.
n || matA.
m!=matB.
m){
94 std::cerr <<
"These two matrises can not make a summation." << std::endl
95 <<
"Your input was (" << matA.
m <<
"x" << matA.
n <<
") + (" << matB.
m <<
"x" << matB.
n <<
")." << std::endl;
100 const CPPL_INT mn =matA.
m*matA.
n;
101 for(CPPL_INT
i=0;
i<mn;
i++){
CPPL_INT m
matrix row size
double * array
1D array to store matrix data
_dgematrix i(const _dgbmatrix &mat)
CPPL_INT n
matrix column size
CPPL_INT m
matrix row size
double * array
1D array to store matrix data
CPPL_INT n
matrix column size
dgematrix-_dgematrix operator
Definition at line 110 of file dgematrix-_dgematrix.hpp.
References _dgematrix::array, dgematrix::array, i(), _dgematrix::m, dgematrix::m, dgematrix::n, and _dgematrix::n.
111 {CPPL_VERBOSE_REPORT;
113 if(matA.
n!=matB.
n || matA.
m!=matB.
m){
115 std::cerr <<
"These two matrises can not make a subtraction." << std::endl
116 <<
"Your input was (" << matA.
m <<
"x" << matA.
n <<
") - (" << matB.
m <<
"x" << matB.
n <<
")." << std::endl;
121 const CPPL_INT mn =matA.
m*matA.
n;
122 for(CPPL_INT
i=0;
i<mn;
i++){
CPPL_INT m
matrix row size
double * array
1D array to store matrix data
_dgematrix i(const _dgbmatrix &mat)
CPPL_INT n
matrix column size
CPPL_INT m
matrix row size
double * array
1D array to store matrix data
CPPL_INT n
matrix column size
dgematrix*_dgematrix operator
Definition at line 131 of file dgematrix-_dgematrix.hpp.
References _(), dgematrix::array, _dgematrix::array, _dgematrix::destroy(), _dgematrix::m, dgematrix::m, _dgematrix::n, and dgematrix::n.
132 {CPPL_VERBOSE_REPORT;
136 std::cerr <<
"These two matrises can not make a product." << std::endl
137 <<
"Your input was (" << matA.
m <<
"x" << matA.
n <<
") * (" << matB.
m <<
"x" << matB.
n <<
")." << std::endl;
148 dgemm_( &transa, &transb, &matA.
m, &matB.
n, &matA.
n, &alpha, matA.
array, &matA.
m, matB.
array, &matB.
m, &beta, newmat.array, &matA.
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 m
matrix row size
double * array
1D array to store matrix data
CPPL_INT n
matrix column size
_dcovector _(dcovector &vec)