generated from freudenreichan/info2Praktikum-NeuronalesNetz
Compare commits
No commits in common. "dev_brünner_1" and "main" have entirely different histories.
dev_brünne
...
main
6
matrix.c
6
matrix.c
@ -4,6 +4,12 @@
|
||||
|
||||
// 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;
|
||||
|
||||
7
matrix.h
7
matrix.h
@ -4,13 +4,8 @@
|
||||
#define UNDEFINED_MATRIX_VALUE 0
|
||||
|
||||
typedef float MatrixType;
|
||||
// TODO Matrixtyp definieren
|
||||
|
||||
typedef struct Matrix {
|
||||
unsigned int xElement;
|
||||
unsigned int yElement;
|
||||
double ** data;
|
||||
} Matrix;
|
||||
// TODO Matrixtyp definieren
|
||||
|
||||
|
||||
Matrix createMatrix(unsigned int rows, unsigned int cols);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user