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

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

Definition at line 561 of file Bayes.h.

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

00562     {
00563         // first looping rows, then looping columns
00564         matrix = new double* [nRow];
00565         for (int k=0; k<nRow; k++)
00566         {
00567             matrix[k] = new double [nCol];
00568             memset(matrix[k],0,sizeof(double)*nCol);
00569         }
00570     }


Generated on Fri Mar 19 11:20:17 2010 for ImpalaSrc by  doxygen 1.5.1