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
+2 -2
View File
@@ -9,7 +9,7 @@ typedef float MatrixType;
typedef struct { typedef struct {
unsigned int rows; unsigned int rows;
unsigned int cols; unsigned int cols;
MatrixType *buffer; MatrixType *buffer; // Speichert die Matrixwerte in einem Array, zeigt die Speicheradresse des ersten Matrixwerts im Array
} Matrix; } Matrix;
@@ -21,4 +21,4 @@ Matrix add(const Matrix matrix1, const Matrix matrix2);
Matrix multiply(const Matrix matrix1, const Matrix matrix2); Matrix multiply(const Matrix matrix1, const Matrix matrix2);
#endif #endif