From e5e92ad770d05ad9e9fa3eb06bbc56d1128499a8 Mon Sep 17 00:00:00 2001 From: D2A62006 Date: Wed, 12 Nov 2025 11:38:16 +0100 Subject: [PATCH] update changes from intial repo --- makefile | 14 ++++++++------ matrix.c | 6 ++++++ todo.md | 19 +++++++++++++++++++ 3 files changed, 33 insertions(+), 6 deletions(-) create mode 100644 todo.md diff --git a/makefile b/makefile index f27b756..47d66b6 100644 --- a/makefile +++ b/makefile @@ -15,12 +15,6 @@ endif raylibfolder = ./raylib unityfolder = ./unity -# -------------------------- -# Initiales Programm bauen (zum ausprobieren) -# -------------------------- -mnist_initial: $(BINARIES)/libmnist_complete.a - $(CC) -o mnist $(BINARIES)/libmnist_complete.a $(BINARIES)/libraylib.a ${LDFLAGS} - # -------------------------- # Selbst implementiertes Programm bauen # -------------------------- @@ -54,6 +48,14 @@ neuralNetworkTests: neuralNetwork.o matrix.o neuralNetworkTests.c $(unityfolder) imageInputTests: imageInput.o imageInputTests.c $(unityfolder)/unity.c $(CC) $(CFLAGS) -I$(unityfolder) -o runImageInputTests imageInputTests.c imageInput.o $(unityfolder)/unity.c + +# -------------------------- +# Initiales Programm bauen (zum ausprobieren) +# -------------------------- +mnist_initial: $(BINARIES)/libmnist_complete.a + $(CC) -o mnist $(BINARIES)/libmnist_complete.a $(BINARIES)/libraylib.a ${LDFLAGS} + + # -------------------------- # Clean # -------------------------- diff --git a/matrix.c b/matrix.c index ad00628..00eec00 100644 --- a/matrix.c +++ b/matrix.c @@ -4,6 +4,12 @@ // TODO Matrix-Funktionen implementieren +typedef struct Matrix { + unsigned int xElement; + unsigned int yElement; + +} Matrix; + Matrix createMatrix(unsigned int rows, unsigned int cols) { diff --git a/todo.md b/todo.md new file mode 100644 index 0000000..9ed941b --- /dev/null +++ b/todo.md @@ -0,0 +1,19 @@ +## todo +### Matrix +- Struct Matrix + - Rows, Columns, Matrix [][] + - RowIndex, ColumnIndex Unsigned Int + - MatrixType +- Storen von Matritzen (array an matritzen?) +- Übergabe von Matrix.h +#### Methoden +- createMatrix +- clearMatrix +- setMatrixAt +- getMatrixAt +- add --> Markus +- multiply --> Markus +### imageInput +- To be discussed +### neuronales Netz +- to be discussed \ No newline at end of file