Matrix<T>.AggregateRows<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#
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.

See Also