Пример #1
0
 void operator=(DMatrix& other) {
     elements_ = other.elements_;
     this->cols_ = other.getCols();
     this->rows_ = other.getRows();
 }
Пример #2
0
 DMatrix(DMatrix& other) : Base(other.getRows(), other.getCols()) {
     *this = other;
 }