Matrix<T>.Aggregate Rows<U>(Aggregator<T, U>) Method
Applies the specified aggregator to all the rows in the matrix.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A vector that contains the result of the aggregations indexed by the matrix's row index.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public Vector<U> AggregateRows<U>(
Aggregator<T, U> aggregator
)
Parameters
- aggregator Aggregator<T, U>
- The aggregator to use.
Type Parameters
- U
- The type of the result of the aggregation.
Return Value
Vector<U>A vector that contains the result of the aggregations indexed by the matrix's row index.