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(int[], int, Action<NDExtendedCoordinatesIncrementor>)

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

Parameters

dims int[]

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 int[] Index

Field Value

int[]

Properties

ResetEntireArray

public bool ResetEntireArray { get; set; }

Property Value

bool

Methods

Next()

public int[] Next()

Returns

int[]

Next(params int[])

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

Parameters

extendedIndices int[]

Returns

int[]

Reset()

public void Reset()