From cdd5dfc859d44ba640cdd03f205b6eb07c613f24 Mon Sep 17 00:00:00 2001 From: Naej Date: Mon, 26 Dec 2016 00:13:06 +0100 Subject: [PATCH] added some doc --- LibAutomaton/matrix.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/LibAutomaton/matrix.h b/LibAutomaton/matrix.h index b1cbef5..cabe29c 100644 --- a/LibAutomaton/matrix.h +++ b/LibAutomaton/matrix.h @@ -105,9 +105,26 @@ bool SetCellValue(Matrix matrix, int ColPos, int RowPos, bool value); */ 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); +/** +*Basically print the Matrix in the standard output +* +*@param matrix the Matrix +* +*@return void +* +*/ void BasicPrintMatrix(Matrix matrix); bool RecursiveFreeCol(Matrix matrix, cellElement * elem);