Groups the elements of a vector according to the specified level indexes.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public Vector<T> AggregateInto<U>(
Vector<U> values,
int[] levels,
Vector<T> result
)
Public Function AggregateInto(Of U) (
values As Vector(Of U),
levels As Integer(),
result As Vector(Of T)
) As Vector(Of T)
public:
generic<typename U>
Vector<T>^ AggregateInto(
Vector<U>^ values,
array<int>^ levels,
Vector<T>^ result
)
member AggregateInto :
values : Vector<'U> *
levels : int[] *
result : Vector<'T> -> Vector<'T>
Parameters
- values
- Type: Extreme.MathematicsVectorU
The vector to aggregate. - levels
- Type: SystemInt32
An array of level indexes. - result
- Type: Extreme.MathematicsVectorT
The vector that is to hold the result. May be .
Type Parameters
- U
Return Value
Type:
VectorT
Reference