MCPcopy Create free account
hub / github.com/audacity/audacity / TransposeMatrix

Function TransposeMatrix

libraries/lib-math/Matrix.cpp:280–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278}
279
280Matrix 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
289bool InvertMatrix(const Matrix& input, Matrix& Minv)
290{

Callers 1

InterpolateAudioFunction · 0.85

Calls 2

ColsMethod · 0.80
RowsMethod · 0.80

Tested by

no test coverage detected