Matrix-Struktur definieren

This commit is contained in:
Mihaela Creciun committed 2026-11-02 21:00:07 +01:00
1 parent cf8225b58d
commit fbd456f6a0
1 file changed
+1 -2
+1 -2
View File
@@ -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);