forked from freudenreichan/info2Praktikum-NeuronalesNetz
sync
This commit is contained in:
parent
ddf70dbefd
commit
e206895359
2
matrix.c
2
matrix.c
@ -13,6 +13,7 @@ Matrix createMatrix(unsigned int rows, unsigned int cols)
|
||||
|
||||
m.data = malloc (rows * cols * sizeof(int));
|
||||
|
||||
return m;
|
||||
}
|
||||
|
||||
void clearMatrix(Matrix *matrix)
|
||||
@ -73,6 +74,7 @@ Matrix add(const Matrix matrix1, const Matrix matrix2)
|
||||
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
Matrix multiply(const Matrix matrix1, const Matrix matrix2)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user