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