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

bool* Impala::Util::MakeFilterElemLess ( const Core::Array::Array2dScalarReal64 *  matrix,
int  dimension,
double  treshold 
)

filters out all row in the matrix for which the value at column 'dimension' is less than the treshold

Definition at line 16 of file MakeFilter.h.

References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CH(), and Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CPB().

Referenced by Impala::Core::Feature::SplitSet().

00018 {
00019     bool* filter = new bool[matrix->CH()];
00020     for(int i=0 ; i<matrix->CH() ; ++i)
00021         filter[i] = (*matrix->CPB(dimension, i) < treshold);
00022     return filter;
00023 }

Here is the call graph for this function:


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