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

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

Definition at line 17 of file GetColumn.h.

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

Referenced by Impala::Application::MediaTable::BarPlot::AddColumnsFromDataSource(), Impala::Application::MediaTable::TableViewerPointCloud::AddDataFromTableDataView(), Impala::Application::MediaTable::TableDataViewController::GetColumnMinMax(), and Impala::Application::MediaTable::BarPlot::ShowHistogram().

00018 {
00019     ILOG_VAR(Impala.Core.Matrix.GetColumn);
00020     int length = MatNrRow(m);
00021     Vector::VectorTem<double> v(length);
00022     if (index < 0 || index >= MatNrCol(m))
00023         ILOG_ERROR_NODE("faulty column index: " << index);
00024     for (int i=0 ; i<length ; i++)
00025         v[i] = *MatE(m, i, index);
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