Compare commits

...

2 Commits

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

View File

@ -74,7 +74,6 @@ return MatrixErgebnis;
Matrix multiply(const Matrix matrix1, const Matrix matrix2)
{
Matrix result;
result.rows = matrix1.rows;
result.cols = matrix2.cols;

View File

@ -7,7 +7,11 @@ typedef float MatrixType;
// TODO Matrixtyp definieren
typedef struct Matrix Matrix;
typedef struct Matrix{
unsigned int rows;
unsigned int cols;
MatrixType* buffer;
}Matrix;