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