forked from freudenreichan/info2Praktikum-NeuronalesNetz
maxi_matirx.h fertiggestellt
This commit is contained in:
1 parent
220db794b8
commit
f807f8cc1a
1 file changed
+6
-2
+6
-2
@@ -5,8 +5,12 @@
|
|||||||
|
|
||||||
typedef float MatrixType;
|
typedef float MatrixType;
|
||||||
|
|
||||||
// TODO Matrixtyp definieren
|
typedef struct
|
||||||
|
{
|
||||||
|
MatrixType *buffer; // Zeiger auf die Werte (zeilenweise hintereinander)
|
||||||
|
unsigned int rows; // Anzahl Zeilen
|
||||||
|
unsigned int cols; // Anzahl Spalten
|
||||||
|
} 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);
|
||||||
|
|||||||
Reference in new issue
Block a user