1
0
mirror of https://gitlab.com/klmp200/LO27.git synced 2024-11-26 08:14:14 +00:00

added some doc

This commit is contained in:
Naej 2016-12-26 00:13:06 +01:00
parent 22b653db67
commit cdd5dfc859

View File

@ -105,9 +105,26 @@ bool SetCellValue(Matrix matrix, int ColPos, int RowPos, bool value);
*/ */
bool GetCellValue(Matrix matrix, int ColPos, int RowPos); bool GetCellValue(Matrix matrix, int ColPos, int RowPos);
/**
*Set the number of columns and rows of the matrix and returns it
*
*@param matrix the Matrix
*@param nbCols an int indicating the number of columns
*@param nbRows an int indicating the number of rows
*
*@return the matrix
*
*/
Matrix SetMatrixDim(Matrix matrix,int nbCols,int nbRows); Matrix SetMatrixDim(Matrix matrix,int nbCols,int nbRows);
/**
*Basically print the Matrix in the standard output
*
*@param matrix the Matrix
*
*@return void
*
*/
void BasicPrintMatrix(Matrix matrix); void BasicPrintMatrix(Matrix matrix);
bool RecursiveFreeCol(Matrix matrix, cellElement * elem); bool RecursiveFreeCol(Matrix matrix, cellElement * elem);