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

Method CopyFrom

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

Source from the content-addressed store, hash-verified

105}
106
107void Matrix::CopyFrom(const Matrix &other)
108{
109 mRows = other.mRows;
110 mCols = other.mCols;
111 mRowVec.reinit(mRows);
112 for (unsigned i = 0; i < mRows; i++) {
113 mRowVec[i].Reinit( mCols );
114 mRowVec[i] = other.mRowVec[i];
115 }
116}
117
118Matrix::~Matrix()
119{

Callers

nothing calls this directly

Calls 2

reinitMethod · 0.45
ReinitMethod · 0.45

Tested by

no test coverage detected