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

double Impala::Core::Vector::HistogramIntersectionDouble ( const Vector::VectorTem< double > &  v1,
const Vector::VectorTem< double > &  v2 
) [inline]

Definition at line 25 of file HistogramIntersection.h.

References Impala::Min(), and Impala::Core::Vector::VectorTem< ElemT >::Size().

Referenced by Impala::Application::Precompute::ComputeMatrix(), and Impala::Core::Training::ApplyConceptsHelperKernels::LoadFeatures().

00027 {
00028     double accumulator = 0;
00029     for(int i = 0; i < v1.Size(); i++)
00030     {
00031         accumulator += Impala::Min(v1[i], v2[i]);
00032     }
00033     return accumulator;
00034 }

Here is the call graph for this function:


Generated on Thu Jan 13 09:21:36 2011 for ImpalaSrc by  doxygen 1.5.1