template<class F>
void OffMat< F >::resize int  m,
int  n,
int  s,
int  t
[inline]
 

Definition at line 70 of file offmat.hpp.

00070                                            {
00071          assert( _owndata==true );
00072          if(_m!=m || _n!=n) {
00073                 if(_m>0 && _n>0) { delete[] _data; _data = NULL; } 
00074                 _m = m; _n = n; _s = s; _t = t;
00075                 if(_m>0 && _n>0) { _data = new F[_m*_n]; assert( _data!=NULL ); memset(_data, 0, _m*_n*sizeof(F)); } else _data=NULL;
00076          }
00077   }


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