ListVector<T>.HeadLists Method

Creates a new ListVector<T> containing the first n elements of each list.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.2.0
C#
public ListVector<T> HeadLists(
	int n
)

Parameters

n  Int32
The number of elements to take from the start of each list.

Return Value

ListVector<T>
A new ListVector<T> with truncated lists.

See Also