Go to the source code of this file.
_dgematrix+dgematrix operator
Definition at line 3 of file _dgematrix-dgematrix.hpp.
References _dgematrix::array, dgematrix::array, i(), dgematrix::m, _dgematrix::m, _dgematrix::n, and dgematrix::n.
6 if(matA.
n!=matB.
n || matA.
m!=matB.
m){
8 std::cerr <<
"These two matrises can not make a summation." << std::endl
9 <<
"Your input was (" << matA.
m <<
"x" << matA.
n <<
") + (" << matB.
m <<
"x" << matB.
n <<
")." << std::endl;
14 const CPPL_INT mn =matA.
m*matA.
n;
15 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 24 of file _dgematrix-dgematrix.hpp.
References _dgematrix::array, dgematrix::array, i(), dgematrix::m, _dgematrix::m, _dgematrix::n, and dgematrix::n.
27 if(matA.
n!=matB.
n || matA.
m!=matB.
m){
29 std::cerr <<
"These two matrises can not make a subtraction." << std::endl
30 <<
"Your input was (" << matA.
m <<
"x" << matA.
n <<
") - (" << matB.
m <<
"x" << matB.
n <<
")." << std::endl;
35 const CPPL_INT mn =matA.
m*matA.
n;
36 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 45 of file _dgematrix-dgematrix.hpp.
References _(), _dgematrix::array, dgematrix::array, _dgematrix::destroy(), dgematrix::m, _dgematrix::m, dgematrix::n, and _dgematrix::n.
50 std::cerr <<
"These two matrises can not make a product." << std::endl
51 <<
"Your input was (" << matA.
m <<
"x" << matA.
n <<
") * (" << matB.
m <<
"x" << matB.
n <<
")." << std::endl;
62 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)