Home | History | Annotate | Download | only in src

Lines Matching defs:amount

161     int amount = sample->rows;
172 for( i = 0; i < amount; i++ )
183 /* Generates <sample> of <amount> points from a discrete variate xi,
185 CV_IMPL void cvRandSeries( float probs[], int len, int sample[], int amount )
187 CvMat* univals = cvCreateMat(1, amount, CV_32FC1);
199 for( i = 0; i < amount; i++ )
221 int amount = sample->rows;
225 int* sample_clsnum = (int*)cvAlloc( amount * sizeof(int) );
233 classes = cvCreateMat(1, amount, CV_32FC1);
238 cvRandSeries(weights, clsnum, sample_clsnum, amount);
246 for( i = 0; i < amount; i++ )