From 5da72e72871b761162fc327ef8ce8666a1a94e97 Mon Sep 17 00:00:00 2001 From: stammjo100588 Date: Mon, 3 Nov 2025 14:14:57 +0100 Subject: [PATCH] Added Matrix structure and solved Test 9 & 11 --- matrix.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/matrix.h b/matrix.h index cc640d1..019617a 100644 --- a/matrix.h +++ b/matrix.h @@ -7,6 +7,11 @@ typedef float MatrixType; // TODO Matrixtyp definieren +typedef struct { + unsigned int rows; + unsigned int cols; + float *buffer; +} Matrix; Matrix createMatrix(unsigned int rows, unsigned int cols); void clearMatrix(Matrix *matrix);