Compare commits
No commits in common. "782bcdc3507d950d811efe0e3f8c18c2b20892d0" and "a1c582fcffbf3eef0d5182ded98df8a5056f8b99" have entirely different histories.
782bcdc350
...
a1c582fcff
2
matrix.c
2
matrix.c
@ -44,7 +44,7 @@ void setMatrixAt(MatrixType value, Matrix matrix, unsigned int rowIdx, unsigned
|
|||||||
|
|
||||||
MatrixType getMatrixAt(const Matrix matrix, unsigned int rowIdx, unsigned int colIdx)
|
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)
|
Matrix add(const Matrix matrix1, const Matrix matrix2)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user