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  return _(newmat);
14 }
Complex Double-precision General Dence Matrix Class.
Definition: zgematrix.hpp:3
_zgematrix to_zgematrix() const
CPPL_INT n
matrix column size
Definition: zhematrix.hpp:11
(DO NOT USE) Smart-temporary Complex Double-precision General Dence Matrix Class
Definition: _zgematrix.hpp:3
friend _zgematrix i(const zhematrix &)
friend _zhematrix _(zhematrix &)