CPPLapack
 All Classes Files Functions Variables Friends
_dssmatrix-constructor.hpp
Go to the documentation of this file.
00001 //=============================================================================
00002 /*! _dssmatrix constructor without arguments */
00003 inline _dssmatrix::_dssmatrix()
00004   :m(n)
00005 {VERBOSE_REPORT;
00006   n =0;
00007   data.clear();
00008   line.clear();
00009 }
00010 
00011 //=============================================================================
00012 /*! _dssmatrix copy constructor */
00013 inline _dssmatrix::_dssmatrix(const _dssmatrix& mat)
00014   :m(n)
00015 {VERBOSE_REPORT;
00016   n =mat.n;
00017   data.swap(mat.data);
00018   line.swap(mat.line);
00019   
00020   mat.nullify();
00021 }
00022 
00023 ///////////////////////////////////////////////////////////////////////////////
00024 ///////////////////////////////////////////////////////////////////////////////
00025 ///////////////////////////////////////////////////////////////////////////////
00026 
00027 //=============================================================================
00028 /*! _dssmatrix destructor */
00029 inline _dssmatrix::~_dssmatrix()
00030 {VERBOSE_REPORT;
00031   data.clear();
00032   line.clear();
00033 }
 All Classes Files Functions Variables Friends