From fbd456f6a0a624d3c4e704eea1d876b0f6223cdc Mon Sep 17 00:00:00 2001 From: Mihaela Creciun Date: Mon, 2 Nov 2026 21:00:07 +0100 Subject: [PATCH] Matrix-Struktur definieren --- Startcode/matrix.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Startcode/matrix.h b/Startcode/matrix.h index 6b5ec23..4467066 100644 --- a/Startcode/matrix.h +++ b/Startcode/matrix.h @@ -7,12 +7,11 @@ typedef float MatrixType; // TODO Matrixtyp definieren typedef struct { + MatrixType *buffer; unsigned int rows; unsigned int cols; - MatrixType *buffer; } Matrix; - Matrix createMatrix(unsigned int rows, unsigned int cols); void clearMatrix(Matrix *matrix); void setMatrixAt(MatrixType value, Matrix matrix, unsigned int rowIdx, unsigned int colIdx);