Type Preserving Binary Aggregator Group.Aggregate Into Method
            
            Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
Overload List
| Aggregate | Aggregates the specified values according to the specified grouping. | 
| Aggregate | Aggregates the specified values according to the specified grouping. | 
| Aggregate | Groups the elements of a vector according to the specified grouping. | 
| Aggregate | Groups the elements of a vector according to the specified level indexes. | 
AggregateInto<TResult>(IVector, IVector, IGrouping, IVector)
            Aggregates the specified values according to the specified grouping.
            
public IVector AggregateInto<TResult>(
	IVector values1,
	IVector values2,
	IGrouping grouping,
	IVector? result
)
Parameters
- values1 IVector
 - A vector of values.
 - values2 IVector
 - A vector of values.
 - grouping IGrouping
 - An object that specifies the grouping of elements of values1 and values2.
 - result IVector
 - The result of the aggregation.
 
Type Parameters
- TResult
 - The element type of values1 and values2.
 
Return Value
IVectorA reference to result.
AggregateInto<TResult>(IVector, IVector, IGrouping, Vector<TResult>)
            Aggregates the specified values according to the specified grouping.
            
public Vector<TResult> AggregateInto<TResult>(
	IVector values1,
	IVector values2,
	IGrouping grouping,
	Vector<TResult>? result
)
Parameters
- values1 IVector
 - A vector of values.
 - values2 IVector
 - A vector of values.
 - grouping IGrouping
 - An object that specifies the grouping of elements of values1 and values2.
 - result Vector<TResult>
 - The result of the aggregation.
 
Type Parameters
- TResult
 - The element type of values1 and values2.
 
Return Value
Vector<TResult>A reference to result.
AggregateInto<TResult>(Vector<TResult>, Vector<TResult>, IGrouping, Vector<TResult>)
            Groups the elements of a vector according to the specified grouping.
            
public Vector<TResult> AggregateInto<TResult>(
	Vector<TResult> values1,
	Vector<TResult> values2,
	IGrouping grouping,
	Vector<TResult>? result
)
Parameters
- values1 Vector<TResult>
 - The first vector to aggregate.
 - values2 Vector<TResult>
 - The second vector to aggregate.
 - grouping IGrouping
 - A grouping.
 - result Vector<TResult>
 - The vector that is to hold the result. May be null.
 
Type Parameters
- TResult
 
Return Value
Vector<TResult>AggregateInto<TResult>(Vector<TResult>, Vector<TResult>, Int32[], Vector<TResult>)
            Groups the elements of a vector according to the specified level indexes.
            
public Vector<TResult> AggregateInto<TResult>(
	Vector<TResult> values1,
	Vector<TResult> values2,
	int[] levels,
	Vector<TResult> result
)
Parameters
- values1 Vector<TResult>
 - The first vector to aggregate.
 - values2 Vector<TResult>
 - The second vector to aggregate.
 - levels Int32[]
 - An array of level indexes.
 - result Vector<TResult>
 - The vector that is to hold the result. May be null.
 
Type Parameters
- TResult