template<class C>
Copy constructor.
Definition at line 60 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(). 00061 { 00062 _nr = m.nRow(); 00063 _nc = m.nCol(); 00064 _data = new C[_nr * _nc]; 00065 00066 C* t = m._data; 00067 C* u = _data; 00068 int i = m.nElem(); 00069 while (--i >= 0) 00070 *u++ = *t++; 00071 }
Here is the call graph for this function:
|