17 const CPPL_INT size =
m*
n;
18 for(CPPL_INT
i=0;
i<size;
i++){
31 std::cerr <<
"Only square matrix can be a identity matrix." << std::endl
32 <<
"The matrix size was " <<
m <<
"x" <<
n <<
"." << std::endl;
37 const CPPL_INT size =
m*
n;
38 for(CPPL_INT
i=0;
i<size;
i++){
41 for(CPPL_INT
i=0;
i<
m;
i++){
52 const CPPL_INT size =
m*
n;
53 for(CPPL_INT
i=0;
i<size;
i++){
68 for(
int i=0;
i<
n;
i++){
72 CPPL_INT size =mat.
m*mat.
n;
99 std::cerr <<
"Matrix sizes must be positive integers." << std::endl
100 <<
"Your input was (" << _m <<
"," << _n <<
")." << std::endl;
111 for(
int i=0;
i<
n;
i++){
123 {CPPL_VERBOSE_REPORT;
127 std::cerr <<
"Input row number must be between 0 and " << m <<
"." << std::endl
128 <<
"Your input was " << _m <<
"." << std::endl;
134 for(CPPL_INT j=0; j<
n; j++){
143 {CPPL_VERBOSE_REPORT;
147 std::cerr <<
"Input row number must be between 0 and " << n <<
"." << std::endl
148 <<
"Your input was " << _n <<
"." << std::endl;
154 for(CPPL_INT
i=0;
i<
m;
i++){
167 {CPPL_VERBOSE_REPORT;
168 CPPL_INT A_m =A.
m, A_n =A.
n;
169 comple* A_array =A.
array;
170 comple** A_darray =A.
darray;
178 {CPPL_VERBOSE_REPORT;
CPPL_INT m
matrix row size
void resize(const CPPL_INT &, const CPPL_INT &)
void shallow_copy(const _zgematrix &)
void copy(const zgematrix &)
comple ** darray
array of pointers of column head addresses
comple & operator()(const CPPL_INT &, const CPPL_INT &)
friend _zgematrix i(const zgematrix &)
CPPL_INT n
matrix column size
Complex Double-precision General Dence Matrix Class.
void swap(zgematrix &A, zgematrix &B)
friend _zgematrix _(zgematrix &)
comple * array
1D array to store matrix data
Complex Double-precision Row Vector Class.
(DO NOT USE) Smart-temporary Complex Double-precision Row Vector Class
(DO NOT USE) Smart-temporary Complex Double-precision General Dence Matrix Class
_zcovector col(const CPPL_INT &) const
comple * array
1D array to store matrix data
CPPL_INT m
matrix row size
_zgematrix _(zgematrix &mat)
_zrovector row(const CPPL_INT &) const
Complex Double-precision Column Vector Class.
(DO NOT USE) Smart-temporary Complex Double-precision Column Vector Class
CPPL_INT n
matrix column size
comple ** darray
array of pointers of column head addresses