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