Subset Constructor
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
| Subset( | Constructs a new Subset from an array of indexes. |
| Subset( | Constructs a new Subset from a range of indexes. |
Subset(Int32, Int32[])
Constructs a new Subset from an array of indexes.
public Subset(
int length,
int[] indexes
)Parameters
Remarks
All values in indexes must be greater than or equal to zero and less than length.
Exceptions
| Argument | indexes is null. |
| Argument | length is less than zero. |
| Argument | One of the elements of indexes is less than zero or greater than or equal to length. |
Subset(Int32, Int32, Int32)
Constructs a new Subset from a range of indexes.
public Subset(
int length,
int startIndex,
int endIndex
)Parameters
Remarks
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.
Exceptions
| Argument | 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.. |