template<class MatT>
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:
|