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