CPPLapack
 All Classes Files Functions Variables Friends
zgsmatrix-cast.hpp
Go to the documentation of this file.
00001 //=============================================================================
00002 /*! convert to _zgematrix */
00003 inline _zgematrix zgsmatrix::to_zgematrix() const
00004 {VERBOSE_REPORT;
00005   zgematrix newmat( zgematrix(m,n).zero() );
00006   for(size_t c=0; c<data.size(); c++){
00007     const zcomponent& z =data[c];
00008     newmat(z.i,z.j) =z.v;
00009   }
00010   return _(newmat);
00011 }
 All Classes Files Functions Variables Friends