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

FilterElemLess.h

Go to the documentation of this file.
00001 #ifndef Impala_Core_Array_FilterElemLess_h
00002 #define Impala_Core_Array_FilterElemLess_h
00003 
00004 namespace Impala
00005 {
00006 namespace Core
00007 {
00008 namespace Array
00009 {
00010 
00014 //template<class ArrayT> // should we make it a template already?
00015 bool*
00016 FilterElemLess(Array2dScalarReal64* array, int column, double 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 }
00023 
00024 } // namespace
00025 } // namespace
00026 } // namespace
00027 
00028 #endif

Generated on Fri Mar 19 09:30:46 2010 for ImpalaSrc by  doxygen 1.5.1