Writing a generic numeric algorithm
Generic in the sense that you don't know the matrix and/or vector classes that you will be supplied with.
No memory allocations.