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