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

template<class C>
VectorTem<C> Impala::Core::Matrix::MatrixTem< C >::getRow ( long  r  )  const [inline]

Definition at line 241 of file MatrixTem.h.

References Impala::Core::Matrix::MatrixTem< C >::_nc, Impala::Core::Matrix::MatrixTem< C >::_nr, and Impala::Core::Matrix::MatrixTem< C >::i().

Referenced by Impala::Core::Array::extractRegions(), Impala::Core::Array::refinery(), and Impala::Core::Array::rgmerge().

00242 {
00243 
00244         if(r>= _nr || r<0){
00245         std::cerr << "getRow: rownr exceeded the number of rows in MatrixTem." 
00246                   << std::endl;
00247         return VectorTem<C>(0);
00248     }
00249 
00250         VectorTem<C> tmp(_nc);
00251 
00252         for(int i = 0; i<_nc; i++)
00253                 tmp[i] = (*this)[r][i] ;
00254 
00255         return tmp ;
00256 }

Here is the call graph for this function:


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