6 std::cerr <<
"# [MARK] operator+(const dsymatrix&, const _dgematrix&)"
11 if(matA.N!=matB.
N || matA.N!=matB.
M){
12 std::cerr <<
"[ERROR] operator+(_dsymatrix&, dgematrix&)" << std::endl
13 <<
"These two matrises can not make a summation." << std::endl
14 <<
"Your input was (" << matA.N <<
"x" << matA.N <<
") + ("
15 << matB.
M <<
"x" << matB.
N <<
")." << std::endl;
20 for(
long i=0; i<matA.N; i++) {
21 for(
long j=0; j<matA.N; j++) {
34 std::cerr <<
"# [MARK] operator-(const dsymatrix&, const _dgematrix&)"
39 if(matA.N!=matB.
N || matA.N!=matB.
M){
40 std::cerr <<
"[ERROR] operator-(_dsymatrix&, dgematrix&)" << std::endl
41 <<
"These two matrises can not make a subtraction." << std::endl
42 <<
"Your input was (" << matA.N <<
"x" << matA.N <<
") - ("
43 << matB.
M <<
"x" << matB.
N <<
")." << std::endl;
48 for(
long i=0; i<matA.N; i++){
49 for(
long j=0; j<matA.N; j++){
50 matB(i,j) =matA(i,j)-matB(i,j);
62 std::cerr <<
"# [MARK] operator*(const dsymatrix&, const _dgematrix&)"
68 std::cerr <<
"[ERROR] operator*(_dsymatrix&, dgematrix&)" << std::endl
69 <<
"These two matrises can not make a product." << std::endl
70 <<
"Your input was (" << matA.N <<
"x" << matA.N <<
") * ("
71 << matB.
M <<
"x" << matB.
N <<
")." << std::endl;
77 dsymm_(
'L',
'L', matA.N, matB.
N, 1.0, matA.Array, matA.N,
long const & m
matrix row size (readable)
Definition: dgematrix.hpp:14
Real Double-precision General Dence Matrix Class.
Definition: dgematrix.hpp:3
Real Double-precision Symmetric Matrix Class [L-type (UPLO=L) Strage].
Definition: dsymatrix.hpp:3
double *const & array
1D array to store matrix data (readable)
Definition: dgematrix.hpp:16
friend _drovector operator-(const _drovector &)
Definition: _drovector-unary.hpp:15
(DO NOT USE) Smart-temporary Real Double-precision General Dence Matrix Class
Definition: _dgematrix.hpp:3
long N
matrix column size
Definition: _dgematrix.hpp:8
double * Array
1D array to store matrix data
Definition: _dgematrix.hpp:9
friend _drovector operator*(const drovector &, const dgematrix &)
Definition: drovector-dgematrix.hpp:3
void destroy() const
Definition: _dgematrix-misc.hpp:3
friend const _drovector & operator+(const _drovector &)
Definition: _drovector-unary.hpp:3
long M
matrix row size
Definition: _dgematrix.hpp:7