template<class ArrayT>
template<class OutputT>
Definition at line 84 of file VirtualMatrixMemory.h. References ILOG_ERROR, Impala::Core::Matrix::MatE(), Impala::Core::Matrix::MatNrCol(), and Impala::Core::Matrix::VirtualMatrixMemory< ArrayT >::mMat. Referenced by Impala::Core::Matrix::VirtualMatrixMemory< ArrayT >::GetRowImpl(). 00085 { 00086 if (MatNrCol(mMat) > bufferSize) 00087 { 00088 ILOG_ERROR("[ReadRow] Buffer too small"); 00089 return 0; 00090 } 00091 StorT* row = MatE(mMat, rowNr, 0); 00092 for (int i=0 ; i<MatNrCol(mMat) ; i++) 00093 { 00094 buffer[i] = static_cast<OutputT>(row[i]); 00095 } 00096 return MatNrCol(mMat); 00097 }
Here is the call graph for this function:
|