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
|
// 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 createMatrix(unsigned int rows, unsigned int cols)
|
||||||
{
|
{
|
||||||
Matrix m;
|
Matrix m;
|
||||||
|
|||||||
7
matrix.h
7
matrix.h
@ -4,13 +4,8 @@
|
|||||||
#define UNDEFINED_MATRIX_VALUE 0
|
#define UNDEFINED_MATRIX_VALUE 0
|
||||||
|
|
||||||
typedef float MatrixType;
|
typedef float MatrixType;
|
||||||
// TODO Matrixtyp definieren
|
|
||||||
|
|
||||||
typedef struct Matrix {
|
// TODO Matrixtyp definieren
|
||||||
unsigned int xElement;
|
|
||||||
unsigned int yElement;
|
|
||||||
double ** data;
|
|
||||||
} Matrix;
|
|
||||||
|
|
||||||
|
|
||||||
Matrix createMatrix(unsigned int rows, unsigned int cols);
|
Matrix createMatrix(unsigned int rows, unsigned int cols);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user