Large Matrix Batch Transpose

Agree with the above^^

A 20000x20000 matrix of double elements is 3.2GB, so one of them would fit in 8GB, at least. If it is a square matrix you could do an in-place transpose.