BinaryAggregator<T1, T2, TResult>.AggregateInto Method

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0

Overload List

AggregateInto(Vector<T1>, Vector<T2>, IGrouping, Vector<TResult>) Groups the elements of a vector according to the specified grouping.
Obsolete.
AggregateInto(Vector<T1>, Vector<T2>, Int32[], Vector<TResult>) Groups the elements of a vector according to the specified level indexes.
Obsolete.

AggregateInto(Vector<T1>, Vector<T2>, IGrouping, Vector<TResult>)

Note: This API is now obsolete.
Groups the elements of a vector according to the specified grouping.
C#
[ObsoleteAttribute("Use the AggregateBy method instead.")]
public Vector<TResult> AggregateInto(
	Vector<T1> values1,
	Vector<T2> values2,
	IGrouping grouping,
	Vector<TResult>? result
)

Parameters

values1  Vector<T1>
A vector of values.
values2  Vector<T2>
A vector of values.
grouping  IGrouping
A grouping.
result  Vector<TResult>
The vector that is to hold the result. May be null.

Return Value

Vector<TResult>

AggregateInto(Vector<T1>, Vector<T2>, Int32[], Vector<TResult>)

Note: This API is now obsolete.
Groups the elements of a vector according to the specified level indexes.
C#
[ObsoleteAttribute("Use the AggregateBy method instead.")]
public Vector<TResult> AggregateInto(
	Vector<T1> values1,
	Vector<T2> values2,
	int[] levels,
	Vector<TResult>? result
)

Parameters

values1  Vector<T1>
A vector of values.
values2  Vector<T2>
A vector of values.
levels  Int32[]
An array of level indexes.
result  Vector<TResult>
The vector that is to hold the result. May be null.

Return Value

Vector<TResult>

See Also