Table of Contents

Struct SliceDef

Namespace
NumSharp
Assembly
NumSharp.dll
public struct SliceDef
Inherited Members
Extension Methods

Constructors

SliceDef(int)

public SliceDef(int idx)

Parameters

idx int

SliceDef(int, int, int)

public SliceDef(int start, int step, int count)

Parameters

start int
step int
count int

SliceDef(string)

(Start>>Step*Count)

public SliceDef(string def)

Parameters

def string

Fields

Count

public int Count

Field Value

int

Start

public int Start

Field Value

int

Step

public int Step

Field Value

int

Properties

IsIndex

public bool IsIndex { get; }

Property Value

bool

Methods

Invert()

reverts the order of the slice sequence

public SliceDef Invert()

Returns

SliceDef

Merge(SliceDef)

Merge calculates the resulting one-time slice on the original data if it is sliced repeatedly

public SliceDef Merge(SliceDef other)

Parameters

other SliceDef

Returns

SliceDef

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.