Constructs a new
Subset from a range of indexes.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public Subset(
int length,
int startIndex,
int endIndex
)
Public Sub New (
length As Integer,
startIndex As Integer,
endIndex As Integer
)
public:
Subset(
int length,
int startIndex,
int endIndex
)
new :
length : int *
startIndex : int *
endIndex : int -> Subset
Parameters
- length
- Type: SystemInt32
The length of the subset. - startIndex
- Type: SystemInt32
The index of the first visible observation. - endIndex
- Type: SystemInt32
The index of the observation past the last visible observation.
Exception | Condition |
---|
ArgumentOutOfRangeException | length is less than zero.
-or- startIndex is less than zero or greater than length.. -or- endIndex is less than zero or greater than length.. |
Both startIndex and endIndex must be
greater than or equal to zero and less than or equal to
length.
If startIndex is equal to
endIndex, the subset contains all elements.
Reference