Matrixpart

This commit is contained in:
gloecknerma103472 committed 2026-11-11 10:17:57 +01:00
1 parent 9f3fc14182
commit 5d5a51b805
3 files changed
+69 -19

No files matched your search

+8 -2
View File
@@ -5,8 +5,14 @@
typedef float MatrixType;
// TODO Matrixtyp definieren
// TODO Matrixtyp definieren (done)
typedef struct Matrix
{
int array[28][28]; //28 x 28 ist die Auflösung jedes Bildes
unsigned rows; //Zeilen
unsigned cols; //Spalten
short truenumber; //zwei Bite Länge am Ende jedes Bildes
} Matrix;
Matrix createMatrix(unsigned int rows, unsigned int cols);
void clearMatrix(Matrix *matrix);