CPPLapack
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Friends
Pages
include
_zhsmatrix-
_zhsmatrix-constructor.hpp
Go to the documentation of this file.
1
//=============================================================================
2
/*! _zhsmatrix constructor without arguments */
3
inline
_zhsmatrix::_zhsmatrix
()
4
:m(n)
5
{CPPL_VERBOSE_REPORT;
6
//////// initialize ////////
7
n
=0;
8
data
.clear();
9
line
.clear();
10
}
11
12
//=============================================================================
13
/*! _zhsmatrix copy constructor */
14
inline
_zhsmatrix::_zhsmatrix
(
const
_zhsmatrix
& mat)
15
:m(n)
16
{CPPL_VERBOSE_REPORT;
17
//////// initialize ////////
18
n
=mat.
n
;
19
data
.swap(mat.
data
);
20
line
.swap(mat.
line
);
21
22
mat.
nullify
();
23
}
24
25
///////////////////////////////////////////////////////////////////////////////
26
///////////////////////////////////////////////////////////////////////////////
27
///////////////////////////////////////////////////////////////////////////////
28
29
//=============================================================================
30
/*! _zhsmatrix destructor */
31
inline
_zhsmatrix::~_zhsmatrix
()
32
{CPPL_VERBOSE_REPORT;
33
data
.clear();
34
line
.clear();
35
}
_zhsmatrix::data
std::vector< zcomponent > data
matrix data
Definition:
_zhsmatrix.hpp:12
_zhsmatrix::nullify
void nullify() const
Definition:
_zhsmatrix-misc.hpp:3
_zhsmatrix::n
CPPL_INT n
matrix column size
Definition:
_zhsmatrix.hpp:11
_zhsmatrix::line
std::vector< std::vector< CPPL_INT > > line
vector of vector to store the entry information of component for each row and column ...
Definition:
_zhsmatrix.hpp:13
_zhsmatrix::~_zhsmatrix
~_zhsmatrix()
Definition:
_zhsmatrix-constructor.hpp:31
_zhsmatrix::_zhsmatrix
_zhsmatrix()
Definition:
_zhsmatrix-constructor.hpp:3
_zhsmatrix
(DO NOT USE) Smart-temporary Complex Double-precision Hermitian Sparse Matrix Class ...
Definition:
_zhsmatrix.hpp:3
Generated by
1.8.6