Matrix<T>.Aggregate Rows<U>(Aggregator Group<U>[]) Method
Applies the specified aggregators to all the rows in the matrix.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A new matrix that contains the result of the aggregations with columns indexed by the names of the aggregators and rows indexed by the matrix's row index.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public Matrix<U> AggregateRows<U>(
params AggregatorGroup<U>[] aggregators
)
Parameters
- aggregators AggregatorGroup<U>[]
- One or more aggregators to use.
Type Parameters
- U
- The type of the result of the aggregation.
Return Value
Matrix<U>A new matrix that contains the result of the aggregations with columns indexed by the names of the aggregators and rows indexed by the matrix's row index.