#pragma once #include #include "RowTypeMatrix.h" #include "FullColumn.h" #include "FullRow.h" namespace MbD { //class FullColumn; template class FullMatrix : public RowTypeMatrix>> { public: FullMatrix() {} FullMatrix(int m, int n) { for (int i = 0; i < m; i++) { auto row = std::make_shared>(n); this->push_back(row); } } FullMatrix(std::initializer_list> list2D) { for (auto rowList : list2D) { auto row = std::make_shared>(rowList); this->push_back(row); } } }; typedef std::initializer_list> ListListD; typedef std::shared_ptr> FullMatDptr; //typedef std::shared_ptr>>> FullMatFCptr; //typedef std::shared_ptr>>> FullMatFMptr; }