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

void Impala::Core::Histogram::TestEntropy::testZeroPadding (  )  [inline]

Definition at line 37 of file TestEntropy.h.

References Impala::Core::Histogram::Entropy().

00038     {
00039         int data[3] = {1, 2, 3};
00040         int dataPadded[7] = {1, 2, 3, 0, 0, 0 ,0};
00041         Histogram1dTem<int> hist(0, 1, 3, 0, data);
00042         Histogram1dTem<int> histPadded(0, 1, 7, 0, dataPadded);
00043         CPPUNIT_ASSERT_EQUAL(Entropy(&hist), Entropy(&histPadded));
00044     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:12:35 2010 for ImpalaSrc by  doxygen 1.5.1