template<class F>
NumVec& NumVec< F >::operator= const NumVec< F > &  C  )  [inline]
 

Set this NumVec equal to C using the overloaded "=" operator

Definition at line 71 of file numvec.hpp.

00071                                       {
00072          if(_owndata) { 
00073                 if(_m>0) { delete[] _data; _data = NULL; }
00074          }
00075          _m = C._m; _owndata=C._owndata;
00076          if(_owndata) {
00077                 if(_m>0) { _data = new F[_m]; assert(_data!=NULL); memset(_data, 0, _m*sizeof(F)); } else _data=NULL;
00078                 if(_m>0) memcpy( _data, C._data, _m*sizeof(F) );
00079          } else {
00080                 _data =C._data;
00081          }
00082          return *this;
00083   }


Generated on Sun Dec 4 18:13:13 2005 for common by  doxygen 1.4.5