template<class F>
OffMat< F >::OffMat const OffMat< F > &  C  )  [inline]
 

Definition at line 44 of file offmat.hpp.

References OffMat< F >::_data.

00044                          : _m(C._m), _n(C._n), _s(C._s), _t(C._t), _owndata(C._owndata) {
00045          if(_owndata) {
00046                 if(_m>0 && _n>0) { _data = new F[_m*_n]; assert( _data!=NULL ); memset(_data, 0, _m*_n*sizeof(F)); } else _data=NULL;
00047                 if(_m>0 && _n>0) memcpy( _data, C._data, _m*_n*sizeof(F) );
00048          } else {
00049                 _data = C._data;
00050          }
00051   }


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