Lines Matching refs:rows
127 int dim = A->rows; in cvChol()
161 int amount = sample->rows; in cvRandMVNormal()
221 int amount = sample->rows; in cvRandGaussMixture()
344 CV_ASSERT (center->rows == 1); in cvRandRoundUni()
348 size = desired_matrix->rows; in cvRandRoundUni()
377 int rows, cols; in cvCompleteSymm() local
384 rows = matrix->rows; in cvCompleteSymm()
394 for( i = 1; i < rows; i++ ) in cvCompleteSymm()
402 for( i = 0; i < rows-1; i++, dst += step ) in cvCompleteSymm()
414 for( i = 1; i < rows; i++ ) in cvCompleteSymm()
422 for( i = 0; i < rows-1; i++, dst += step ) in cvCompleteSymm()
475 if( idx_arr->rows != 1 && idx_arr->cols != 1 ) in cvPreprocessIndexArray()
478 idx_total = idx_arr->rows + idx_arr->cols - 1; in cvPreprocessIndexArray()
585 if( var_type->rows != 1 && var_type->cols != 1 ) in cvPreprocessVarType()
591 tm_size = var_type->rows + var_type->cols - 1; in cvPreprocessVarType()
604 var_idx->rows != 1 && var_idx->cols != 1 || !CV_IS_MAT_CONT(var_idx->type) ) in cvPreprocessVarType()
606 if( var_idx->rows + var_idx->cols - 1 > var_count ) in cvPreprocessVarType()
609 var_count = var_idx->rows + var_idx->cols - 1; in cvPreprocessVarType()
646 if( responses->rows != 1 && responses->cols != 1 ) in cvPreprocessOrderedResponses()
649 if( responses->rows + responses->cols - 1 != sample_count ) in cvPreprocessOrderedResponses()
668 sample_idx->rows != 1 && sample_idx->cols != 1 || !CV_IS_MAT_CONT(sample_idx->type) ) in cvPreprocessOrderedResponses()
670 if( sample_idx->rows + sample_idx->cols - 1 > sample_count ) in cvPreprocessOrderedResponses()
673 sample_count = sample_idx->rows + sample_idx->cols - 1; in cvPreprocessOrderedResponses()
736 if( responses->rows != 1 && responses->cols != 1 ) in cvPreprocessCategoricalResponses()
739 if( responses->rows + responses->cols - 1 != sample_count ) in cvPreprocessCategoricalResponses()
752 sample_idx->rows != 1 && sample_idx->cols != 1 || !CV_IS_MAT_CONT(sample_idx->type) ) in cvPreprocessCategoricalResponses()
754 if( sample_idx->rows + sample_idx->cols - 1 > sample_count ) in cvPreprocessCategoricalResponses()
757 sample_count = sample_idx->rows + sample_idx->cols - 1; in cvPreprocessCategoricalResponses()
858 var_count = var_idx ? var_idx->cols + var_idx->rows - 1 : in cvGetTrainSamples()
859 tflag == CV_ROW_SAMPLE ? train_data->cols : train_data->rows; in cvGetTrainSamples()
860 sample_count = sample_idx ? sample_idx->cols + sample_idx->rows - 1 : in cvGetTrainSamples()
861 tflag == CV_ROW_SAMPLE ? train_data->rows : train_data->cols; in cvGetTrainSamples()
942 *var_all = tflag == CV_ROW_SAMPLE ? train_data->cols : train_data->rows; in cvCheckTrainData()
945 *sample_all = tflag == CV_ROW_SAMPLE ? train_data->rows : train_data->cols; in cvCheckTrainData()
1111 if( classes->rows != 1 || CV_MAT_TYPE(classes->type) != CV_32SC1 ) in cvSortSamplesByClasses()
1176 if( !(is_sparse && d == 1 || !is_sparse && d == 2 && (sample->rows == 1 || sample->cols == 1)) ) in cvPreparePredictData()
1189 if( comp_idx && (!CV_IS_MAT(comp_idx) || comp_idx->rows != 1 || in cvPreparePredictData()
1200 if( (prob->rows != 1 && prob->cols != 1) || in cvPreparePredictData()
1206 if( prob->rows + prob->cols - 1 != class_count ) in cvPreparePredictData()
1438 CV_ASSERT( sample_idx->rows == 1 && CV_MAT_TYPE(sample_idx->type) == CV_32SC1 ); in cvWritebackLabels()
1444 CV_ASSERT( comp_idx->rows == 1 && CV_MAT_TYPE(comp_idx->type) == CV_32SC1 ); in cvWritebackLabels()
1453 CV_ASSERT( labels->rows == 1 ); in cvWritebackLabels()
1455 if( dst_labels->rows != 1 && dst_labels->cols != 1 ) in cvWritebackLabels()
1458 if( dst_labels->rows + dst_labels->cols - 1 != samples_all ) in cvWritebackLabels()
1476 if( centers->rows != dst_centers->rows ) in cvWritebackLabels()
1486 for( i = 0; i < centers->rows; i++ ) in cvWritebackLabels()
1500 if( dst_probs->rows != samples_all ) in cvWritebackLabels()
1505 CV_ASSERT( probs->rows == samples_selected ); in cvWritebackLabels()
1585 if( sample_idx->cols != 1 && sample_idx->rows != 1 )
1588 samples_selected = sample_idx->rows + sample_idx->cols - 1;
1602 if( predict_output->rows != 1 && predict_output->cols != 1 )
1605 if( predict_output->rows + predict_output->cols - 1 != samples_all )
1616 if( probs->rows != samples_all )
1830 samples = _responses->cols + _responses->rows - 1; in cvCombineResponseMaps()
1904 nsamples = probs->rows; in icvFindClusterLabels()