Table of Contents

Struct np.NDRefIter<T>.Enumerator

Namespace
NumSharp
Assembly
NumSharp.dll

The cursor. Walks the inner loop with plain pointer arithmetic and only touches the iterator at a chunk boundary, so a contiguous array costs one iterator call for the whole walk.

public ref struct np.NDRefIter<T>.Enumerator
Inherited Members

Properties

Current

The current element, BY REFERENCE — assign to it to write through.

public ref T Current { get; }

Property Value

T

Methods

Dispose()

Frees the unmanaged iterator state. foreach calls this; hand-driven MoveNext() loops must call it themselves.

public void Dispose()

MoveNext()

Advance one element.

public bool MoveNext()

Returns

bool