CPPLapack
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Friends
Pages
include
_dgbmatrix-
_dgbmatrix-constructor.hpp
Go to the documentation of this file.
1
//=============================================================================
2
/*! _dgbmatrix constructor */
3
inline
_dgbmatrix::_dgbmatrix
()
4
{CPPL_VERBOSE_REPORT;
5
m
=0;
6
n
=0;
7
kl
=0;
8
ku
=0;
9
array
=NULL;
10
darray
=NULL;
11
}
12
13
//=============================================================================
14
/*! _dgbmatrix copy constructor */
15
inline
_dgbmatrix::_dgbmatrix
(
const
_dgbmatrix
& mat)
16
{CPPL_VERBOSE_REPORT;
17
m
=mat.
m
;
18
n
=mat.
n
;
19
kl
=mat.
kl
;
20
ku
=mat.
ku
;
21
array
=mat.
array
;
22
darray
=mat.
darray
;
23
24
mat.
nullify
();
25
}
26
27
///////////////////////////////////////////////////////////////////////////////
28
///////////////////////////////////////////////////////////////////////////////
29
///////////////////////////////////////////////////////////////////////////////
30
31
//=============================================================================
32
/*! _dgbmatrix destructor */
33
inline
_dgbmatrix::~_dgbmatrix
()
34
{CPPL_VERBOSE_REPORT;
35
delete
[]
array
;
36
delete
[]
darray
;
37
}
_dgbmatrix::darray
double ** darray
array of pointers of column head addresses
Definition:
_dgbmatrix.hpp:14
_dgbmatrix::nullify
void nullify() const
Definition:
_dgbmatrix-misc.hpp:3
_dgbmatrix::ku
CPPL_INT ku
upper band width
Definition:
_dgbmatrix.hpp:12
_dgbmatrix::kl
CPPL_INT kl
lower band width
Definition:
_dgbmatrix.hpp:11
_dgbmatrix::n
CPPL_INT n
matrix column size
Definition:
_dgbmatrix.hpp:10
_dgbmatrix::~_dgbmatrix
~_dgbmatrix()
Definition:
_dgbmatrix-constructor.hpp:33
_dgbmatrix::array
double * array
1D array to store matrix data
Definition:
_dgbmatrix.hpp:13
_dgbmatrix
(DO NOT USE) Smart-temporary Real Double-precision General Band Matrix Class
Definition:
_dgbmatrix.hpp:3
_dgbmatrix::_dgbmatrix
_dgbmatrix()
Definition:
_dgbmatrix-constructor.hpp:3
_dgbmatrix::m
CPPL_INT m
matrix row size
Definition:
_dgbmatrix.hpp:9
Generated by
1.8.6