//------------------------------------------------------------------------------------------
        //Матрица с расширенными границами
        public RealMatrix GetExtendedBoundsMatrix(int newRowCount, int newColumnCount)
        {
            RealMatrix newMatrix     = new RealMatrix(newRowCount, newColumnCount);
            int        rowTopLeft    = (newRowCount - this.RowCount) / 2;
            int        columnTopLeft = (newColumnCount - this.ColumnCount) / 2;

            newMatrix.SetSubMatrix(this, rowTopLeft, columnTopLeft);
            return(newMatrix);
        }