generated from freudenreichan/info2Praktikum-NeuronalesNetz
get_matrix Funktion erstellt
This commit is contained in:
1 parent
6c0dd3f87f
commit
bf27920a61
1 file changed
+1
-1
@@ -22,7 +22,7 @@ void setMatrixAt(MatrixType value, Matrix matrix, unsigned int rowIdx, unsigned
|
||||
|
||||
MatrixType getMatrixAt(const Matrix matrix, unsigned int rowIdx, unsigned int colIdx)
|
||||
{
|
||||
|
||||
return matrix.data[(rowIdx * matrix.cols) + colIdx];
|
||||
}
|
||||
|
||||
Matrix add(const Matrix matrix1, const Matrix matrix2)
|
||||
|
||||
Reference in new issue
Block a user