From cf8225b58d1ec5b931f16a2b473cab388ed479dc Mon Sep 17 00:00:00 2001 From: Mihaela Creciun Date: Mon, 2 Nov 2026 19:41:02 +0100 Subject: [PATCH] Matrix-Struktur definieren --- Startcode/matrix.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Startcode/matrix.h b/Startcode/matrix.h index cc640d1..6b5ec23 100644 --- a/Startcode/matrix.h +++ b/Startcode/matrix.h @@ -6,6 +6,11 @@ typedef float MatrixType; // TODO Matrixtyp definieren +typedef struct { + unsigned int rows; + unsigned int cols; + MatrixType *buffer; +} Matrix; Matrix createMatrix(unsigned int rows, unsigned int cols);