Class Slice
ndarray can be indexed using slicing slice is constructed by start:stop:step notation
Inheritance
System.Object
Slice
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NumSharp.Core
Assembly: NumSharp.Core.dll
Syntax
public class Slice
Constructors
| Improve this Doc View SourceSlice(Int32[])
start, stop, step
Declaration
public Slice(params int[] p)
Parameters
Type | Name | Description |
---|---|---|
System.Int32[] | p |
Properties
| Improve this Doc View SourceLength
Declaration
public int Length { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Start
Declaration
public int Start { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Step
Declaration
public int Step { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Stop
Declaration
public int Stop { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |