template<class F>
NumTns< F >::NumTns int  m,
int  n,
int  p,
bool  owndata,
F *  data
[inline]
 

Definition at line 51 of file numtns.hpp.

00051                                                     : _m(m), _n(n), _p(p), _owndata(owndata) {
00052          if(_owndata) {
00053                 if(_m>0 && _n>0 && _p>0) { _data = new F[_m*_n*_p]; assert( _data!=NULL ); } else _data=NULL;
00054                 if(_m>0 && _n>0 && _p>0) { for(int i=0; i<_m*_n*_p; i++) _data[i] = data[i]; }
00055          } else {
00056                 _data = data;
00057          }
00058   }


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