Constructs a new categorical vector using
the specified category index.
Namespace: Extreme.MathematicsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
CategoricalVector<T> WithCategories<T>(
IList<T> newIndex
)
Function WithCategories(Of T) (
newIndex As IList(Of T)
) As CategoricalVector(Of T)
generic<typename T>
CategoricalVector<T>^ WithCategories(
IList<T>^ newIndex
)
abstract WithCategories :
newIndex : IList<'T> -> CategoricalVector<'T>
Parameters
- newIndex
- Type: System.Collections.GenericIListT
The category index of the new
categorical vector.
Type Parameters
- T
- The element type of the new vector.
Return Value
Type:
CategoricalVectorTA new vector with element type
T
that has the same level indexes as this vector and assigns
them the values in
newIndex.
Numerical Libraries
Supported in: 6.0
Reference