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 ( int rows, int columns, IEnumerable data ) : DenseMatrix
rows int
columns int
data IEnumerable
return DenseMatrix
        public static DenseMatrix OfColumns(int rows, int columns, IEnumerable<IEnumerable<float>> data)
        {
            return new DenseMatrix(DenseColumnMajorMatrixStorage<float>.OfColumnEnumerables(rows, columns, data));
        }

Same methods

DenseMatrix::OfColumns ( IEnumerable data ) : DenseMatrix