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

bool* Impala::Core::Array::FilterElemLess ( Array2dScalarReal64 *  array,
int  column,
double  value 
)

This function returns an array of bools, i.e.

a filter. Filters can be used with Util/Set.h functionality.

Definition at line 16 of file FilterElemLess.h.

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

00017 {
00018     bool* filter = new bool[array->CH()];
00019     for(int i=0 ; i<array->CH() ; ++i)
00020         filter[i] = array->Value(column, i) > value;
00021     return filter;
00022 }

Here is the call graph for this function:


Generated on Fri Mar 19 10:56:33 2010 for ImpalaSrc by  doxygen 1.5.1