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

void Impala::Core::Table::Bayes::AllocateMatrix ( double **&  matrix,
int  nRow,
int  nCol 
) [inline]

Definition at line 646 of file Bayes.h.

Referenced by Bayes(), Impala::Core::Table::BayesCondProb::BayesCondProb(), and Impala::Core::Table::ConfusionMatrix::ConfusionMatrix().

00647     {
00648         // first looping rows, then looping columns
00649         matrix = new double* [nRow];
00650         for (int k=0; k<nRow; k++)
00651         {
00652             matrix[k] = new double [nCol];
00653             memset(matrix[k],0,sizeof(double)*nCol);
00654         }
00655     }


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