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

OfColumns() public static method

Create a new dense matrix as a copy of the given enumerable of enumerable columns. Each enumerable in the master enumerable specifies a column. This new matrix will be independent from the enumerables. A new memory block will be allocated for storing the matrix.
public static OfColumns ( IEnumerable data ) : DenseMatrix
data IEnumerable
return DenseMatrix
        public static DenseMatrix OfColumns(IEnumerable<IEnumerable<float>> data)
        {
            return OfColumnArrays(data.Select(v => v.ToArray()).ToArray());
        }

Same methods

DenseMatrix::OfColumns ( int rows, int columns, IEnumerable data ) : DenseMatrix