Template Function helpme::transposeMemoryInPlace¶
Defined in File matrix.h
Function Documentation¶
-
template<class RandomIterator>
void helpme::transposeMemoryInPlace(RandomIterator first, RandomIterator last, int m)¶ A helper function to transpose a dense matrix in place, gratuitously stolen from https://stackoverflow.com/questions/9227747/in-place-transposition-of-a-matrix