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

template<class ArrayT>
Real64 Impala::Core::Matrix::MatTrace ( ArrayT *  m  )  [inline]

Definition at line 16 of file MatTrace.h.

References MatE(), MatNrCol(), MatNrRow(), and Impala::Min().

Referenced by Impala::Core::Feature::InterestPointFeature::ProjectLLC().

00017 {
00018     Real64 total = 0.0;
00019     for (int i=0 ; i<Min(MatNrRow(m), MatNrCol(m)) ; i++)
00020         total += *MatE(m, i, i);
00021     return total;
00022 }

Here is the call graph for this function:


Generated on Thu Jan 13 09:20:16 2011 for ImpalaSrc by  doxygen 1.5.1