CPPLapack
 All Classes Files Functions Variables Friends Pages
_zhematrix-cast.hpp
Go to the documentation of this file.
1 //=============================================================================
2 /*! convert to _zgematrix */
4 {CPPL_VERBOSE_REPORT;
5  zgematrix newmat(n,n);
6 
7  for(CPPL_INT i=0; i<n; i++){
8  for(CPPL_INT j=0; j<n; j++){
9  newmat(i,j) =(*this)(i,j);
10  }
11  }
12 
13  destroy();
14  return _(newmat);
15 }
CPPL_INT n
matrix column size
Definition: _zhematrix.hpp:11
Complex Double-precision General Dence Matrix Class.
Definition: zgematrix.hpp:3
(DO NOT USE) Smart-temporary Complex Double-precision General Dence Matrix Class
Definition: _zgematrix.hpp:3
void destroy() const
_zgematrix to_zgematrix() const
_dcovector _(dcovector &vec)
friend _zgematrix i(const _zhematrix &)