From 177dbb660c7cd608914739ad2f09ac6664e2d152 Mon Sep 17 00:00:00 2001 From: John Neumeier Date: Sun, 16 Nov 2025 11:07:19 +0100 Subject: [PATCH] Matrix in matrix.h --- .idea/.gitignore | 8 + .idea/Neuronales_Netz_Geh_Sch_Neu.iml | 2 + .idea/editor.xml | 580 ++++++++++++++++++++++++++ .idea/modules.xml | 8 + .idea/vcs.xml | 6 + matrix.h | 6 +- 6 files changed, 609 insertions(+), 1 deletion(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/Neuronales_Netz_Geh_Sch_Neu.iml create mode 100644 .idea/editor.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/Neuronales_Netz_Geh_Sch_Neu.iml b/.idea/Neuronales_Netz_Geh_Sch_Neu.iml new file mode 100644 index 0000000..4c94235 --- /dev/null +++ b/.idea/Neuronales_Netz_Geh_Sch_Neu.iml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/.idea/editor.xml b/.idea/editor.xml new file mode 100644 index 0000000..95d51a7 --- /dev/null +++ b/.idea/editor.xml @@ -0,0 +1,580 @@ + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..176ec75 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/matrix.h b/matrix.h index cc640d1..a9f100e 100644 --- a/matrix.h +++ b/matrix.h @@ -6,7 +6,11 @@ typedef float MatrixType; // TODO Matrixtyp definieren - +typedef struct { + MatrixType rows; + MatrixType cols; + MatrixType *buffer; +}Matrix; Matrix createMatrix(unsigned int rows, unsigned int cols); void clearMatrix(Matrix *matrix);