5 for(CPPL_INT
i=0;
i<
n;
i++){
6 for(CPPL_INT j=0; j<
i; j++){
10 if(std::fabs(
std::imag(
operator()(i,i))) > DBL_MIN){
12 std::cerr <<
"The " << i <<
"th diagonal component of the zhematrix is not a real number." << std::endl;
33 for(CPPL_INT j=0; j<
n; j++){
34 for(CPPL_INT
i=j;
i<
n;
i++){
45 for(CPPL_INT j=0; j<
n; j++){
46 darray[j][j] =comple(1.,0.);
47 for(CPPL_INT
i=j+1;
i<
n;
i++){
58 for(CPPL_INT j=0; j<
n; j++){
59 for(CPPL_INT
i=j;
i<
n;
i++){
74 for(
int i=0;
i<
n;
i++){
78 for(CPPL_INT j=0; j<
n; j++){
79 for(CPPL_INT
i=j;
i<
n;
i++){
102 {CPPL_VERBOSE_REPORT;
106 std::cerr <<
"Matrix sizes must be positive integers." << std::endl
107 <<
"Your input was (" << _n <<
")." << std::endl;
117 for(
int i=0;
i<
n;
i++){
129 {CPPL_VERBOSE_REPORT;
133 std::cerr <<
"Input row number must be between 0 and " << m <<
"." << std::endl
134 <<
"Your input was " << _m <<
"." << std::endl;
140 for(CPPL_INT j=0; j<
n; j++){
149 {CPPL_VERBOSE_REPORT;
153 std::cerr <<
"Input row number must be between 0 and " << n <<
"." << std::endl
154 <<
"Your input was " << _n <<
"." << std::endl;
160 for(CPPL_INT
i=0;
i<
m;
i++){
173 {CPPL_VERBOSE_REPORT;
175 comple* A_array =A.
array;
176 comple** A_darray =A.
darray;
184 {CPPL_VERBOSE_REPORT;
(DO NOT USE) Smart-temporary Complex Double-precision Hermitian Matrix Class
void shallow_copy(const _zhematrix &)
_zcovector col(const CPPL_INT &) const
_zhematrix _(zhematrix &mat)
_zrovector row(const CPPL_INT &) const
CPPL_INT n
matrix column size
void swap(zhematrix &A, zhematrix &B)
_zcovector conj(const _zcovector &vec)
CPPL_INT const & m
matrix row size
void copy(const zhematrix &)
CPPL_INT n
matrix column size
Complex Double-precision Row Vector Class.
(DO NOT USE) Smart-temporary Complex Double-precision Row Vector Class
friend _zgematrix i(const zhematrix &)
comple * array
1D array to store matrix data
comple * array
1D array to store matrix data
dcovec3 imag(const dquater &q)
void resize(const CPPL_INT &)
friend _zhematrix _(zhematrix &)
Complex Double-precision Hermitian Matrix Class [l-type (UPLO=l) Strage].
comple ** darray
array of pointers of column head addresses
comple ** darray
array of pointers of column head addresses
Complex Double-precision Column Vector Class.
(DO NOT USE) Smart-temporary Complex Double-precision Column Vector Class