Table of Contents

Struct np.NDIndexSpans.Enumerator

Namespace
NumSharp
Assembly
NumSharp.dll

The cursor — one ReadOnlySpan<T> (over a reused buffer) per step.

public ref struct np.NDIndexSpans.Enumerator
Inherited Members

Properties

Current

The current index — a view over the reused buffer, valid until the next step.

public ReadOnlySpan<long> Current { get; }

Property Value

ReadOnlySpan<long>

Methods

Dispose()

No unmanaged state; present so foreach's dispose pattern is satisfied.

public void Dispose()

MoveNext()

Advance the odometer (last axis fastest, C-order), reusing the buffer.

public bool MoveNext()

Returns

bool