| 105 | } |
| 106 | |
| 107 | void 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 | |
| 118 | Matrix::~Matrix() |
| 119 | { |