public IReadOnlyList<IReadOnlyList<T>> AsColumns<T>()
Public Function AsColumns(Of T) As IReadOnlyList(Of IReadOnlyList(Of T))
public:
generic<typename T>
IReadOnlyList<IReadOnlyList<T>^>^ AsColumns()
member AsColumns : unit -> IReadOnlyList<IReadOnlyList<'T>>
Some methods, such as MeansClustering(IReadOnlyListIReadOnlyListDouble, Int32) and PrincipalComponentAnalysis(IReadOnlyListIReadOnlyListDouble), require their inputs as column-oriented array of uniform type. This method exposes the view as such a collection.
This operation is both time and memory efficient. It does not copy every element into a new collection, but instead simply instantiates a converter that implements the list operations directly against the already existing storage.