Class Slice represents a collection of indices that can be used to view
a subset of data from another data structure. A slice is defined by a starting
index, a total number of elements, and a step increment called the stride.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
[SerializableAttribute] public class Slice : ICloneable |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class Slice _ Implements ICloneable |
| Visual C++ |
|---|
[SerializableAttribute] public ref class Slice : ICloneable |
Examples
For example, a slice could be the third column of a matrix or the first ten elements
of a vector.