void operator=(DMatrix& other) { elements_ = other.elements_; this->cols_ = other.getCols(); this->rows_ = other.getRows(); }
DMatrix(DMatrix& other) : Base(other.getRows(), other.getCols()) { *this = other; }