Aggregator<T, U>.AggregateInto Method

Definition

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

Overload List

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

AggregateInto(Matrix<T>, Vector<U>)

Aggregates the columns of a matrix.
C#
public virtual Vector<U> AggregateInto(
	Matrix<T> values,
	Vector<U> result
)

Parameters

values  Matrix<T>
The matrix whose columns to aggregate.
result  Vector<U>
The vector that is to hold the result. May be null.

Return Value

Vector<U>

AggregateInto(Vector<T>, IGrouping, Vector<U>)

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

Parameters

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

Return Value

Vector<U>

AggregateInto(Vector<T>, Int32[], Vector<U>)

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

Parameters

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

Return Value

Vector<U>

See Also