clvcooke / MatrixMath

A from scratch implementation of basic matrix manipulation and operations in C++
0 stars 2 forks source link

Transpose function does not allow for the transpose of an arbirtary matrix to be calculated #8

Closed clvcooke closed 9 years ago

clvcooke commented 9 years ago

As of now we cannot take the transpose of an arbirtrary input matrix, it can only take the transpose of the current matrix. This functionality would be very useful for calculating the inverse of a matrix.

RowanFerrabee commented 9 years ago

For any arbitrary matrix m, you can call m.transpose() which will return the transpose of m.

clvcooke commented 9 years ago

I was sort of being stupid, that makes sense. But it led me to the question I asked about porting the functions to a different file. More for making the code cleaner than anything.