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