matrix.h aktualisiert

matrix.h hinzugefügt
This commit is contained in:
John Neumeier 2025-11-16 17:16:42 +00:00
parent 57857eb5d9
commit c928a8433a

View File

@ -6,7 +6,11 @@
typedef float MatrixType; typedef float MatrixType;
// TODO Matrixtyp definieren // TODO Matrixtyp definieren
typedef struct {
MatrixType *buffer;
MatrixType rows;
MatrixType cols;
}Matrix;
Matrix createMatrix(unsigned int rows, unsigned int cols); Matrix createMatrix(unsigned int rows, unsigned int cols);
void clearMatrix(Matrix *matrix); void clearMatrix(Matrix *matrix);