MathNet.Numerics.LinearAlgebra.Single.DenseMatrix.OfRows C# (CSharp) Method

OfRows() public static method

Create a new dense matrix as a copy of the given enumerable of enumerable rows. Each enumerable in the master enumerable specifies a row. This new matrix will be independent from the enumerables. A new memory block will be allocated for storing the matrix.
public static OfRows ( int rows, int columns, IEnumerable data ) : DenseMatrix
rows int
columns int
data IEnumerable
return DenseMatrix
        public static DenseMatrix OfRows(int rows, int columns, IEnumerable<IEnumerable<float>> data)
        {
            return new DenseMatrix(DenseColumnMajorMatrixStorage<float>.OfRowEnumerables(rows, columns, data));
        }

Same methods

DenseMatrix::OfRows ( IEnumerable data ) : DenseMatrix