generated from freudenreichan/info2Praktikum-NeuronalesNetz
Compare commits
1 Commits
main
...
dev_brünne
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cdd14986cf |
6
matrix.c
6
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;
|
||||
|
||||
7
matrix.h
7
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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user