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

OfRowVectors() public static method

Create a new dense matrix as a copy of the given row vectors. This new matrix will be independent from the vectors. A new memory block will be allocated for storing the matrix.
public static OfRowVectors ( ) : DenseMatrix
return DenseMatrix
        public static DenseMatrix OfRowVectors(params Vector<float>[] rows)
        {
            var storage = new VectorStorage<float>[rows.Length];
            for (int i = 0; i < rows.Length; i++)
            {
                storage[i] = rows[i].Storage;
            }
            return new DenseMatrix(DenseColumnMajorMatrixStorage<float>.OfRowVectors(storage));
        }

Same methods

DenseMatrix::OfRowVectors ( IEnumerable rows ) : DenseMatrix