public static DenseMatrix OfMatrix(Matrix<double> matrix) { return new DenseMatrix(DenseColumnMajorMatrixStorage<double>.OfMatrix(matrix.Storage)); }