This repo has implementations for addition and subtraction of matrices. However, all of them produce fresh new Matrix even if we don't need operands afterwards. In order to have a way to reduce allocations, one should have way to reuses allocated memory and operate on it.
This repo has implementations for addition and subtraction of matrices. However, all of them produce fresh new
Matrixeven if we don't need operands afterwards. In order to have a way to reduce allocations, one should have way to reuses allocated memory and operate on it.