Table of Contents

Interface IExtremaEnumerable<T>

Namespace
NumSharp.Utilities.Linq
Assembly
NumSharp.dll

Exposes the enumerator, which supports iteration over a sequence of some extremum property (maximum or minimum) of a specified type.

public interface IExtremaEnumerable<out T> : IEnumerable<T>, IEnumerable

Type Parameters

T

The type of objects to enumerate.

Inherited Members
Extension Methods

Methods

Take(int)

Returns a specified number of contiguous elements from the start of the sequence.

IEnumerable<out T> Take(int count)

Parameters

count int

The number of elements to return.

Returns

IEnumerable<T>

An IEnumerable<T> that contains the specified number of elements from the start of the input sequence.

TakeLast(int)

Returns a specified number of contiguous elements at the end of the sequence.

IEnumerable<out T> TakeLast(int count)

Parameters

count int

The number of elements to return.

Returns

IEnumerable<T>

An IEnumerable<T> that contains the specified number of elements at the end of the input sequence.