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