generated from freudenreichan/info2Praktikum-NeuronalesNetz
Erste Matrix Funktionen implementiert, Test Pass für 1,2,3 und 5
This commit is contained in:
1 parent
fc8a4affd1
commit
fafbda4b03
2 files changed
+74
-9
No files matched your search
+7
-2
@@ -2,11 +2,16 @@
|
||||
#define MATRIX_H
|
||||
|
||||
#define UNDEFINED_MATRIX_VALUE 0
|
||||
#define MATRIX_COLS 4
|
||||
#define MATRIX_ROWS 4
|
||||
|
||||
typedef float MatrixType;
|
||||
|
||||
// TODO Matrixtyp definieren
|
||||
|
||||
typedef struct {
|
||||
MatrixType *buffer;
|
||||
unsigned int rows;
|
||||
unsigned int cols;
|
||||
} Matrix;
|
||||
|
||||
Matrix createMatrix(unsigned int rows, unsigned int cols);
|
||||
void clearMatrix(Matrix *matrix);
|
||||
|
||||
Reference in new issue
Block a user