defined struct matrix

This commit is contained in:
kachelto100370 committed 2025-11-11 09:54:31 +01:00
1 parent 41c164d3b2
commit 29b2966c63
1 file changed
+5
+5
View File
@@ -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);