diff --git a/matrix.c b/matrix.c index 90d4c6b..033b7fa 100644 --- a/matrix.c +++ b/matrix.c @@ -4,12 +4,6 @@ // TODO Matrix-Funktionen implementieren -typedef struct Matrix { - unsigned int xElement; - unsigned int yElement; - int ** data; -} Matrix; - Matrix createMatrix(unsigned int rows, unsigned int cols) { Matrix m; diff --git a/matrix.h b/matrix.h index cc640d1..cf9fae4 100644 --- a/matrix.h +++ b/matrix.h @@ -4,9 +4,14 @@ #define UNDEFINED_MATRIX_VALUE 0 typedef float MatrixType; - // TODO Matrixtyp definieren +typedef struct Matrix { + unsigned int xElement; + unsigned int yElement; + double ** data; +} Matrix; + Matrix createMatrix(unsigned int rows, unsigned int cols); void clearMatrix(Matrix *matrix);