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