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