TypePreservingAggregatorGroup.AggregateInto Method

Definition

Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

AggregateInto<T>(IVector, IGrouping, IVector) Aggregates the specified values according to the specified grouping.
AggregateInto<T>(IVector, IGrouping, Vector<T>) Aggregates the specified values according to the specified grouping.
AggregateInto<T>(Vector<T>, IGrouping, Vector<T>) Groups the elements of a vector according to the specified grouping.
AggregateInto<T>(Vector<T>, Int32[], Vector<T>) Groups the elements of a vector according to the specified level indexes.

TypePreservingAggregatorGroup.AggregateInto<T>(IVector, IGrouping, IVector)

Aggregates the specified values according to the specified grouping.
C#
public IVector AggregateInto<T>(
	IVector values,
	IGrouping grouping,
	IVector result
)

Parameters

values  IVector
A vector of values.
grouping  IGrouping
An object that specifies the grouping of elements of values.
result  IVector
The result of the aggregation.

Type Parameters

T
The element type of values.

Return Value

IVector
A reference to result.

TypePreservingAggregatorGroup.AggregateInto<T>(IVector, IGrouping, Vector<T>)

Aggregates the specified values according to the specified grouping.
C#
public Vector<T> AggregateInto<T>(
	IVector values,
	IGrouping grouping,
	Vector<T> result
)

Parameters

values  IVector
A vector of values.
grouping  IGrouping
An object that specifies the grouping of elements of values.
result  Vector<T>
The result of the aggregation.

Type Parameters

T
The element type of values.

Return Value

Vector<T>
A reference to result.

TypePreservingAggregatorGroup.AggregateInto<T>(Vector<T>, IGrouping, Vector<T>)

Groups the elements of a vector according to the specified grouping.
C#
public Vector<T> AggregateInto<T>(
	Vector<T> values,
	IGrouping grouping,
	Vector<T> result
)

Parameters

values  Vector<T>
The vector to aggregate.
grouping  IGrouping
A grouping.
result  Vector<T>
The vector that is to hold the result. May be null.

Type Parameters

T

Return Value

Vector<T>

TypePreservingAggregatorGroup.AggregateInto<T>(Vector<T>, Int32[], Vector<T>)

Groups the elements of a vector according to the specified level indexes.
C#
public Vector<T> AggregateInto<T>(
	Vector<T> values,
	int[] levels,
	Vector<T> result
)

Parameters

values  Vector<T>
The vector to aggregate.
levels  Int32[]
An array of level indexes.
result  Vector<T>
The vector that is to hold the result. May be null.

Type Parameters

T

Return Value

Vector<T>

See Also