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

Function MatrixSubset

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

Source from the content-addressed store, hash-verified

254}
255
256Matrix MatrixSubset(const Matrix &input,
257 unsigned startRow, unsigned numRows,
258 unsigned startCol, unsigned numCols)
259{
260 Matrix M(numRows, numCols);
261 for(unsigned i = 0; i < numRows; i++)
262 for(unsigned j = 0; j < numCols; j++)
263 M[i][j] = input[startRow+i][startCol+j];
264 return M;
265}
266
267Matrix MatrixConcatenateCols(const Matrix& left, const Matrix& right)
268{

Callers 1

InterpolateAudioFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected