template<class ElemT>
Definition at line 16 of file ElemMax.h. References Impala::Core::Vector::VectorTem< ElemT >::GetData(), and Impala::Core::Vector::VectorTem< ElemT >::Size(). Referenced by Impala::Core::Feature::VisSem::DoCodebook(), and HistogramNormalization(). 00017 { 00018 ElemT* p = v.GetData(); 00019 ElemT res = p[0]; 00020 for (int i=1 ; i<v.Size() ; i++) 00021 if (p[i] > res) 00022 res = p[i]; 00023 return res; 00024 }
Here is the call graph for this function:
|