Struct SliceDef
- Namespace
- NumSharp
- Assembly
- NumSharp.dll
public struct SliceDef
- Inherited Members
- Extension Methods
Constructors
SliceDef(int)
Backwards-compatible constructor accepting int index.
public SliceDef(int idx)
Parameters
idxint
SliceDef(int, int, int)
Backwards-compatible constructor accepting int parameters.
public SliceDef(int start, int step, int count)
Parameters
SliceDef(long)
public SliceDef(long idx)
Parameters
idxlong
SliceDef(long, long, long)
public SliceDef(long start, long step, long count)
Parameters
SliceDef(string)
(Start>>Step*Count)
public SliceDef(string def)
Parameters
defstring
Fields
Count
public long Count
Field Value
Start
public long Start
Field Value
Step
public long Step
Field Value
Properties
IsIndex
public bool IsIndex { get; }
Property Value
Methods
Invert()
reverts the order of the slice sequence
public SliceDef Invert()
Returns
Merge(SliceDef)
Merge calculates the resulting one-time slice on the original data if it is sliced repeatedly
public SliceDef Merge(SliceDef other)
Parameters
otherSliceDef
Returns
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.