Class NDExtendedCoordinatesIncrementor
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
shapeShapeextendByintBy how many items should Index be extended
endCallbackAction<NDExtendedCoordinatesIncrementor>
NDExtendedCoordinatesIncrementor(long[], int, Action<NDExtendedCoordinatesIncrementor>)
public NDExtendedCoordinatesIncrementor(long[] dims, int extendBy, Action<NDExtendedCoordinatesIncrementor> endCallback = null)
Parameters
dimslong[]The dims has to be not extended, use Resize<T>(ref T[], int) if it already extended
extendByintBy how many items should Index be extended
endCallbackAction<NDExtendedCoordinatesIncrementor>
Fields
Index
public long[] Index
Field Value
- long[]
Properties
ResetEntireArray
public bool ResetEntireArray { get; set; }
Property Value
Methods
Next()
public long[] Next()
Returns
- long[]
Next(params long[])
public long[] Next(params long[] extendedIndices)
Parameters
extendedIndiceslong[]
Returns
- long[]
Reset()
public void Reset()