From 29b2966c63b69617cf898546a8287198b204cbbc Mon Sep 17 00:00:00 2001 From: kachelto100370 Date: Tue, 11 Nov 2025 09:54:31 +0100 Subject: [PATCH] defined struct matrix --- matrix.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/matrix.h b/matrix.h index cc640d1..40ac148 100644 --- a/matrix.h +++ b/matrix.h @@ -6,6 +6,11 @@ typedef float MatrixType; // TODO Matrixtyp definieren +typedef struct{ + unsigned int rows; + unsigned int cols; + MatrixType *data; +} Matrix; Matrix createMatrix(unsigned int rows, unsigned int cols);