| 278 | } |
| 279 | |
| 280 | Matrix TransposeMatrix(const Matrix& other) |
| 281 | { |
| 282 | Matrix M(other.Cols(), other.Rows()); |
| 283 | for(unsigned i = 0; i < other.Rows(); i++) |
| 284 | for(unsigned j = 0; j < other.Cols(); j++) |
| 285 | M[j][i] = other[i][j]; |
| 286 | return M; |
| 287 | } |
| 288 | |
| 289 | bool InvertMatrix(const Matrix& input, Matrix& Minv) |
| 290 | { |
no test coverage detected