Monthly Archives: October 2009


Fun with matrix multiplication and unsafe code 1

In this post I will compare two methods that perform matrix multiplication. We start by defining the Matrix class:

Next we add the first algorithm to the Matrix class which performs a naive multiplication:

The second method uses unsafe code: (more…)