template<class F>
OffMat< F >::OffMat int  m,
int  n,
int  s,
int  t,
bool  owndata,
F *  data
[inline]
 

Definition at line 36 of file offmat.hpp.

00036                                                            : _m(m), _n(n), _s(s), _t(t), _owndata(owndata) {
00037          if(_owndata) {
00038                 if(_m>0 && _n>0) { _data = new F[_m*_n]; assert( _data!=NULL ); memset(_data, 0, _m*_n*sizeof(F)); } else _data=NULL;
00039                 if(_m>0 && _n>0) memcpy( _data, data, _m*_n*sizeof(F) );
00040          } else {
00041                 _data = data;
00042          }
00043   }


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