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

template<class MatT>
Vector::VectorTem<double> Impala::Core::Matrix::GetRow ( MatT *  m,
int  index 
) [inline]

Definition at line 17 of file GetRow.h.

References ILOG_VAR, MatE(), MatNrCol(), and MatNrRow().

00018 {
00019     ILOG_VAR(Impala.Core.Matrix.GetRow);
00020     int length = MatNrCol(m);
00021     Vector::VectorTem<double> v(length);
00022     if (index < 0 || index >= MatNrRow(m))
00023         ILOG_ERROR_NODE("faulty row index: " << index);
00024     for (int i=0 ; i<length ; i++)
00025         v[i] = *MatE(m, index, i);
00026     return v;
00027 }

Here is the call graph for this function:


Generated on Thu Jan 13 09:20:11 2011 for ImpalaSrc by  doxygen 1.5.1