MathNet.Numerics.LinearAlgebra.Double.DenseMatrix.OfMatrix C# (CSharp) Метод

OfMatrix() публичный статический Метод

Create a new dense matrix as a copy of the given other matrix. This new matrix will be independent from the other matrix. A new memory block will be allocated for storing the matrix.
public static OfMatrix ( Matrix matrix ) : DenseMatrix
matrix Matrix
Результат DenseMatrix
        public static DenseMatrix OfMatrix(Matrix<double> matrix)
        {
            return new DenseMatrix(DenseColumnMajorMatrixStorage<double>.OfMatrix(matrix.Storage));
        }