Go to the source code of this file.
_dgematrix+dsymatrix 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;
14 for(CPPL_INT
i=0;
i<matA.
n;
i++) {
15 for(CPPL_INT j=0; j<matA.
n; j++) {
16 matB(
i,j) += matA(
i,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-dgematrix operator
Definition at line 25 of file dsymatrix-_dgematrix.hpp.
References i(), _dgematrix::m, dsymatrix::n, and _dgematrix::n.
28 if(matA.
n!=matB.
n || matA.
n!=matB.
m){
30 std::cerr <<
"These two matrises can not make a subtraction." << std::endl
31 <<
"Your input was (" << matA.
n <<
"x" << matA.
n <<
") - (" << matB.
m <<
"x" << matB.
n <<
")." << std::endl;
36 for(CPPL_INT
i=0;
i<matA.
n;
i++){
37 for(CPPL_INT j=0; j<matA.
n; j++){
38 matB(
i,j) =matA(
i,j)-matB(
i,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*dgematrix operator
Definition at line 47 of file dsymatrix-_dgematrix.hpp.
References _(), dsymatrix::array, _dgematrix::array, dgematrix::array, _dgematrix::destroy(), _dgematrix::m, dgematrix::m, dsymatrix::n, and _dgematrix::n.
52 std::cerr <<
"These two matrises can not make a product." << std::endl
53 <<
"Your input was (" << matA.
n <<
"x" << matA.
n <<
") * (" << matB.
m <<
"x" << matB.
n <<
")." << std::endl;
64 dsymm_( &side, &uplo, &matA.
n, &matB.
n, &alpha, matA.
array, &matA.
n, matB.
array, &matB.
m, &beta, newmat.array, &newmat.m );
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
CPPL_INT n
matrix column size
double * array
1D array to store matrix data
_dcovector _(dcovector &vec)