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

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

Definition at line 259 of file MatrixTem.h.

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

00260 {
00261 
00262         if(c>= _nc || c<0){
00263         std::cerr << "getCol: Colnr exceeded number of columns in MatrixTem."
00264                   << std::endl;
00265         return VectorTem<C>(0);
00266     }
00267 
00268         VectorTem<C> tmp(_nr);
00269         for(int i = 0; i<_nr; i++)
00270         {
00271                 tmp[i] = (*this)[i][c] ;
00272         }
00273         return tmp;
00274 
00275 }

Here is the call graph for this function:


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