template<class F>
void NumTns< F >::resize int  m,
int  n,
int  p
[inline]
 

Definition at line 85 of file numtns.hpp.

00085                                     {
00086          assert( _owndata==true );
00087          if(_m!=m || _n!=n || _p!=p) {
00088                 if(_m>0 && _n>0 && _p>0) { delete[] _data; _data = NULL; } 
00089                 _m = m; _n = n; _p=p;
00090                 if(_m>0 && _n>0 && _p>0) { _data = new F[_m*_n*_p]; assert( _data!=NULL ); } else _data=NULL;
00091          }
00092   }


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