Added Matrix structure and solved Test 9 & 11

This commit is contained in:
Jonas Stamm 2025-11-03 14:14:57 +01:00
parent 4b18c85ebe
commit 5da72e7287

View File

@ -7,6 +7,11 @@ typedef float MatrixType;
// TODO Matrixtyp definieren
typedef struct {
unsigned int rows;
unsigned int cols;
float *buffer;
} Matrix;
Matrix createMatrix(unsigned int rows, unsigned int cols);
void clearMatrix(Matrix *matrix);