Compare commits

...
2 Commits
Author SHA1 Message Date
gramppto99138 8676389e62 still fixed changes related to matrix 2025-11-20 16:29:55 +01:00
gramppto99138 963eb3b3a4 fixed matrix errors 2025-11-20 16:28:10 +01:00
2 changed files with 5 additions and 2 deletions

No files matched your search

-1
View File
@@ -74,7 +74,6 @@ return MatrixErgebnis;
Matrix multiply(const Matrix matrix1, const Matrix matrix2) Matrix multiply(const Matrix matrix1, const Matrix matrix2)
{ {
Matrix result; Matrix result;
result.rows = matrix1.rows; result.rows = matrix1.rows;
result.cols = matrix2.cols; result.cols = matrix2.cols;
+5 -1
View File
@@ -7,7 +7,11 @@ typedef float MatrixType;
// TODO Matrixtyp definieren // TODO Matrixtyp definieren
typedef struct Matrix Matrix; typedef struct Matrix{
unsigned int rows;
unsigned int cols;
MatrixType* buffer;
}Matrix;