List Vector<T>.Head Lists 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#
A new ListVector<T> with truncated lists.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.2.0
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.