Table of Contents

Struct np.NDEnumerateRef<T>.Entry

Namespace
NumSharp
Assembly
NumSharp.dll

One enumerated element: its coordinate and its value by reference.

public ref struct np.NDEnumerateRef<T>.Entry
Inherited Members

Properties

Index

The current element's multi-index, in C-order. A view over a buffer REUSED each step — copy it (.ToArray()) to keep it past the current iteration.

public ReadOnlySpan<long> Index { get; }

Property Value

ReadOnlySpan<long>

Value

The current element BY REFERENCE — assign to it (e.g. e.Value = x) to write through.

public ref T Value { get; }

Property Value

T