From 558027418c5e9d38690c2e8236f003f4d535f5ba Mon Sep 17 00:00:00 2001 From: Paolo Date: Fri, 6 Nov 2026 20:34:01 +0100 Subject: [PATCH] Matrix-Struktur definiert --- Startcode/matrix.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Startcode/matrix.h b/Startcode/matrix.h index cc640d1..a0a7457 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 *data; //Pointer auf den dynmisch reservierten Speicherbereich +} Matrix; Matrix createMatrix(unsigned int rows, unsigned int cols);