Пример #1
0
        public double[] ToSingleArray()
        {
            SingleArrayMatrix trg = new SingleArrayMatrix(RowCount, ColumnCount);

            Matrix.Copy(this, trg);

            double[] ret = trg.GetInnerArray();
            return(ret);
        }
Пример #2
0
        protected override Matrix CloneEmpty(int rowCount, int columnCount)
        {
            Matrix ret = new SingleArrayMatrix(rowCount, columnCount);

            return(ret);
        }