template<class C>
CxMatrixTem of type C, with constant value.
Definition at line 39 of file Matrix.h. References CxMatrixTem< C >::_data, CxMatrixTem< C >::_nc, CxMatrixTem< C >::_nr, Impala::Core::Array::C, CxMatrixTem< C >::i(), CxMatrixTem< C >::nElem(), and CxMatrixTem< C >::t(). 00040 { 00041 _nr = nRow; 00042 _nc = nCol; 00043 _data = new C[_nr * _nc]; 00044 00045 C* t = _data; 00046 int i = nElem(); 00047 while (--i >= 0) 00048 *t++ = a; 00049 }
Here is the call graph for this function:
|