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

Definition at line 36 of file offtns.hpp.

00036                                                                          : _m(m), _n(n), _p(p), _s(s), _t(t), _u(u), _owndata(owndata) {
00037          if(_owndata) {
00038                 if(_m>0 && _n>0 && _p>0) { _data = new F[_m*_n*_p]; assert( _data!=NULL ); } else _data=NULL;
00039                 if(_m>0 && _n>0 && _p>0) { for(int i=0; i<_m*_n*_p; i++) _data[i] = data[i]; }
00040          } else {
00041                 _data = data;
00042          }
00043   }


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