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

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

Definition at line 47 of file TestEntropy.h.

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

00048     {
00049         int data1[4] = {1, 2, 3, 4};
00050         int data2[4] = {10, 20, 30, 40};
00051         Histogram1dTem<int> hist1(0, 1, 4, 0, data1);
00052         Histogram1dTem<int> hist2(0, 1, 4, 0, data2);
00053         CPPUNIT_ASSERT_EQUAL(Entropy(&hist1), Entropy(&hist2));
00054     }

Here is the call graph for this function:


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