MathNet.Numerics.LinearAlgebra.Double.DenseMatrix.OfColumnVectors C# (CSharp) 메소드

OfColumnVectors() 공개 정적인 메소드

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

Same methods

DenseMatrix::OfColumnVectors ( IEnumerable columns ) : DenseMatrix