Table of Contents

Class NDExtendedCoordinatesIncrementor

Namespace
NumSharp.Utilities
Assembly
NumSharp.dll
public class NDExtendedCoordinatesIncrementor
Inheritance
NDExtendedCoordinatesIncrementor
Inherited Members
Extension Methods

Constructors

NDExtendedCoordinatesIncrementor(Shape, int, Action<NDExtendedCoordinatesIncrementor>)

public NDExtendedCoordinatesIncrementor(Shape shape, int extendBy, Action<NDExtendedCoordinatesIncrementor> endCallback = null)

Parameters

shape Shape
extendBy int

By how many items should Index be extended

endCallback Action<NDExtendedCoordinatesIncrementor>

NDExtendedCoordinatesIncrementor(long[], int, Action<NDExtendedCoordinatesIncrementor>)

public NDExtendedCoordinatesIncrementor(long[] dims, int extendBy, Action<NDExtendedCoordinatesIncrementor> endCallback = null)

Parameters

dims long[]

The dims has to be not extended, use Resize<T>(ref T[], int) if it already extended

extendBy int

By how many items should Index be extended

endCallback Action<NDExtendedCoordinatesIncrementor>

Fields

Index

public long[] Index

Field Value

long[]

Properties

ResetEntireArray

public bool ResetEntireArray { get; set; }

Property Value

bool

Methods

Next()

public long[] Next()

Returns

long[]

Next(params long[])

public long[] Next(params long[] extendedIndices)

Parameters

extendedIndices long[]

Returns

long[]

Reset()

public void Reset()