From e0dbca23622452b8f6b00b12c8b2cb0015eb5452 Mon Sep 17 00:00:00 2001 From: Tobias Linz Date: Wed, 4 Nov 2026 17:31:37 +0100 Subject: [PATCH] Implement Matrix --- Startcode/matrix.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Startcode/matrix.h b/Startcode/matrix.h index cc640d1..3b8340b 100644 --- a/Startcode/matrix.h +++ b/Startcode/matrix.h @@ -5,8 +5,11 @@ typedef float MatrixType; -// TODO Matrixtyp definieren - +typedef struct { + MatrixType *buffer; + unsigned int rows; + unsigned int cols; +} Matrix; Matrix createMatrix(unsigned int rows, unsigned int cols); void clearMatrix(Matrix *matrix);