| SliceSet(Int32, Int32, Int32) Method |
Sets the the specified starting index, total number of elements, and stride
for this slice.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public virtual void Set(
int start,
int numElements,
int stride
)
Public Overridable Sub Set (
start As Integer,
numElements As Integer,
stride As Integer
)
public:
virtual void Set(
int start,
int numElements,
int stride
)
abstract Set :
start : int *
numElements : int *
stride : int -> unit
override Set :
start : int *
numElements : int *
stride : int -> unit
Parameters
- start Int32
- The first data element.
- numElements Int32
- The total number of data elements.
- stride Int32
- The step increment between successive data elements.
Exceptions Exception | Condition |
---|
InvalidArgumentException |
Thrown if the start is negative,
the number of element is not positive, the stride is zero or the calculation of the
end point results in a negative value.
|
See Also