Go to the source code of this file.
_dgematrix+_dsymatrix operator
Definition at line 3 of file _dgematrix-_dsymatrix.hpp.
References _dsymatrix::destroy(), i(), _dgematrix::m, _dgematrix::n, and _dsymatrix::n.
6 if(matA.
n!=matB.
n || matA.
m!=matB.
n){
8 std::cerr <<
"These two matrises can not make a summation." << std::endl
9 <<
"Your input was (" << matA.
m <<
"x" << matA.
n <<
") + (" << matB.
n <<
"x" << matB.
n <<
")." << std::endl;
14 for(CPPL_INT
i=0;
i<matB.
n;
i++) {
15 for(CPPL_INT j=0; j<matB.
n; j++) {
_dgematrix i(const _dgbmatrix &mat)
CPPL_INT m
matrix row size
CPPL_INT n
matrix column size
CPPL_INT n
matrix column size
_dgematrix-_dsymatrix operator
Definition at line 26 of file _dgematrix-_dsymatrix.hpp.
References _dsymatrix::destroy(), i(), _dgematrix::m, _dgematrix::n, and _dsymatrix::n.
29 if(matA.
n!=matB.
n || matA.
m!=matB.
n){
31 std::cerr <<
"These two matrises can not make a summation." << std::endl
32 <<
"Your input was (" << matA.
m <<
"x" << matA.
n <<
") + (" << matB.
n <<
"x" << matB.
n <<
")." << std::endl;
37 for(CPPL_INT
i=0;
i<matB.
n;
i++) {
38 for(CPPL_INT j=0; j<matB.
n; j++) {
_dgematrix i(const _dgbmatrix &mat)
CPPL_INT m
matrix row size
CPPL_INT n
matrix column size
CPPL_INT n
matrix column size
_dgematrix*_dsymatrix operator
Definition at line 49 of file _dgematrix-_dsymatrix.hpp.
References _(), _dgematrix::array, dgematrix::array, _dsymatrix::array, _dgematrix::destroy(), _dsymatrix::destroy(), dgematrix::m, _dgematrix::m, dgematrix::n, _dgematrix::n, and _dsymatrix::n.
54 std::cerr <<
"These two matrises can not make a product." << std::endl
55 <<
"Your input was (" << matA.
m <<
"x" << matA.
n <<
") * (" << matB.
n <<
"x" << matB.
n <<
")." << std::endl;
66 dsymm_( &side, &uplo, &newmat.m, &newmat.n, &alpha, matB.
array, &matB.
n, matA.
array, &matA.
m, &beta, newmat.array, &newmat.m );
Real Double-precision General Dence Matrix Class.
double * array
1D array to store matrix data
CPPL_INT m
matrix row size
double * array
1D array to store matrix data
CPPL_INT n
matrix column size
CPPL_INT n
matrix column size
_dcovector _(dcovector &vec)