General
Matrix calculations on the GPU
[top]
This Stackoverflow post gives the mathematical foundation of the algorithm.
The implementation is derived from this tutorial, which only works for correct sized matrices.