Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

template<class C>
CxMatrixTem<C>& CxMatrixTem< C >::operator= ( const CxMatrixTem< C > &  m  )  [inline]

Normal assigment.

Definition at line 130 of file Matrix.h.

References CxMatrixTem< C >::_data, CxMatrixTem< C >::_nc, CxMatrixTem< C >::_nr, Impala::Core::Array::C, CxMatrixTem< C >::i(), CxMatrixTem< C >::nCol(), CxMatrixTem< C >::nElem(), CxMatrixTem< C >::nRow(), and CxMatrixTem< C >::t().

00131         {
00132                 if (this != &m) {
00133                         delete [] _data;
00134                         _nr = m.nRow();
00135                         _nc = m.nCol();
00136                         _data = new C [_nr * _nc];
00137                         C *t = _data;
00138                         C *u = m._data;
00139                         int i = m.nElem();
00140                         while (--i >= 0)
00141                                 *t++ = *u++;
00142                 }
00143                 return *this;
00144         }

Here is the call graph for this function:


Generated on Fri Mar 19 10:32:10 2010 for ImpalaSrc by  doxygen 1.5.1