Lines Matching full:matrix
124 /* Calculates upper triangular matrix S, where A is a symmetrical matrix A=S'*S */
157 average row vector, <cov> - symmetric covariation matrix */
371 void cvCompleteSymm( CvMat* matrix, int lower_to_upper )
381 if( !CV_IS_MAT(matrix))
382 CV_ERROR(CV_StsBadArg, "Invalid matrix argument");
384 rows = matrix->rows;
385 cols = matrix->cols;
386 step = matrix->step / CV_ELEM_SIZE(matrix->type);
388 switch(CV_MAT_TYPE(matrix->type))
392 float* dst = matrix->data.fl;
396 const float* src = (const float*)(matrix->data.fl + i);
404 const float* src = (const float*)(matrix->data.fl + (i+1)*step + i);
412 double* dst = matrix->data.db;
416 const double* src = (const double*)(matrix->data.db + i);
424 const double* src = (const double*)(matrix->data.db + (i+1)*step + i);
856 CV_ERROR( CV_StsBadArg, "Invalid or NULL training data matrix" );
927 CV_ERROR( CV_StsBadArg, "train data must be floating-point matrix" );
934 "missing value mask must be 8-bit matrix of the same size as training data" );
1198 CV_ERROR( CV_StsBadArg, "The output matrix of probabilities is invalid" );
1204 "The matrix of probabilities must be 1-dimensional vector of 32fC1 type" );
1426 CV_ERROR( CV_StsBadArg, "Array of output labels is not a valid matrix" );
1431 CV_ERROR( CV_StsBadArg, "Array of cluster centers is not a valid matrix" );
1434 CV_ERROR( CV_StsBadArg, "Probability matrix is not valid" );
1477 CV_ERROR( CV_StsUnmatchedSizes, "Invalid number of rows in matrix of output centers" );
1481 "Number of columns in matrix of output centers is "
1498 CV_ERROR( CV_StsUnmatchedSizes, "Invalid number of columns in output probability matrix" );
1502 "Number of rows in output probability matrix is "
1554 CV_ERROR( CV_StsBadArg, "predict_input should be a matrix or a sparse matrix" );
1557 CV_ERROR( CV_StsBadArg, "predict_output should be a matrix" );
1563 CV_ERROR( CV_StsUnsupportedFormat, "The input or output matrix has unsupported format" );
1567 CV_ERROR( CV_StsBadSize, "The input matrix should be 1- or 2-dimensional" );
1583 CV_ERROR( CV_StsBadArg, "Invalid sample_idx matrix" );
1586 CV_ERROR( CV_StsBadSize, "sample_idx must be 1-dimensional matrix" );
1603 matrix" );
1614 CV_ERROR( CV_StsBadArg, "Invalid matrix of probabilities" );
1618 "matrix of probabilities must have as many rows as the total number of samples" );
1621 CV_ERROR( CV_StsUnsupportedFormat, "matrix of probabilities must have 32fC1 type" );
1659 // put each row (or column) of predict_input into separate sparse matrix.