From 1520ca85affeda7afe962ef475b5980796f16eb0 Mon Sep 17 00:00:00 2001 From: Timo Hertel Date: Mon, 3 Nov 2025 14:28:39 +0100 Subject: [PATCH] Matrix.h - erste Notizen --- I2_NeuronalerAbsturz/Start_Linux/matrix.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/I2_NeuronalerAbsturz/Start_Linux/matrix.h b/I2_NeuronalerAbsturz/Start_Linux/matrix.h index cc640d1..5d29747 100644 --- a/I2_NeuronalerAbsturz/Start_Linux/matrix.h +++ b/I2_NeuronalerAbsturz/Start_Linux/matrix.h @@ -6,7 +6,12 @@ typedef float MatrixType; // TODO Matrixtyp definieren - +typedef struct +{ + unsigned int cols; + unsigned int rows; + int array[][]; +} Matrix; Matrix createMatrix(unsigned int rows, unsigned int cols); void clearMatrix(Matrix *matrix);