3 Commits
Author SHA1 Message Date
Mihaela Creciun 51f176e892 Matrix-Struktur definieren 2026-11-12 02:00:29 +01:00
Mihaela Creciun fbd456f6a0 Matrix-Struktur definieren 2026-11-02 21:00:07 +01:00
Mihaela Creciun cf8225b58d Matrix-Struktur definieren 2026-11-02 19:41:02 +01:00
+6 -1
View File
@@ -6,6 +6,11 @@
typedef float MatrixType;
// TODO Matrixtyp definieren
typedef struct {
unsigned int rows;
unsigned int cols;
MatrixType *buffer; // Speichert die Matrixwerte in einem Array, zeigt die Speicheradresse des ersten Matrixwerts im Array
} Matrix;
Matrix createMatrix(unsigned int rows, unsigned int cols);
@@ -16,4 +21,4 @@ Matrix add(const Matrix matrix1, const Matrix matrix2);
Matrix multiply(const Matrix matrix1, const Matrix matrix2);
#endif
#endif