mirror of
				https://gitlab.com/klmp200/LO27.git
				synced 2025-10-31 18:13:03 +00:00 
			
		
		
		
	added some doc
This commit is contained in:
		| @@ -64,17 +64,48 @@ cellElement * FindMatrixElem(Matrix matrix, int ColPos, int RowPos); | ||||
| *@param ColPos an int indicating the column of the cell | ||||
| *@param RowPos an int indicating the row of the cell | ||||
| * | ||||
| *@return void | ||||
| *@return a bool (error code) | ||||
| * | ||||
| */ | ||||
| bool CreateMatrixElem(Matrix matrix, int ColPos, int RowPos); | ||||
|  | ||||
| /** | ||||
| *Delete the cell in the given matrix | ||||
| * | ||||
| *@param matrix the Matrix  | ||||
| *@param ColPos an int indicating the column of the cell | ||||
| *@param RowPos an int indicating the row of the cell | ||||
| * | ||||
| *@return an error code (int) | ||||
| * | ||||
| */ | ||||
| int SupprMatrixElem(Matrix matrix, int ColPos, int RowPos); | ||||
|  | ||||
| /** | ||||
| *Delete or create the cell in the given matrix to fit the value | ||||
| * | ||||
| *@param matrix the Matrix  | ||||
| *@param ColPos an int indicating the column of the cell | ||||
| *@param RowPos an int indicating the row of the cell | ||||
| * | ||||
| *@return an error code (bool) | ||||
| * | ||||
| */ | ||||
| bool SetCellValue(Matrix matrix, int ColPos, int RowPos, bool value); | ||||
|  | ||||
| /** | ||||
| *Checks out the value of the cell in the given matrix | ||||
| * | ||||
| *@param matrix the Matrix  | ||||
| *@param ColPos an int indicating the column of the cell | ||||
| *@param RowPos an int indicating the row of the cell | ||||
| * | ||||
| *@return the value (bool) | ||||
| * | ||||
| */ | ||||
| bool GetCellValue(Matrix matrix, int ColPos, int RowPos); | ||||
|  | ||||
|  | ||||
| Matrix SetMatrixDim(Matrix matrix,int nbCols,int nbRows); | ||||
|  | ||||
| void BasicPrintMatrix(Matrix matrix); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user