Applies the specified aggregator to all the columns in the matrix.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public Vector<U> AggregateColumns<U>(
Aggregator<T, U> aggregator
)
Public Function AggregateColumns(Of U) (
aggregator As Aggregator(Of T, U)
) As Vector(Of U)
public:
generic<typename U>
Vector<U>^ AggregateColumns(
Aggregator<T, U>^ aggregator
)
member AggregateColumns :
aggregator : Aggregator<'T, 'U> -> Vector<'U>
Parameters
- aggregator
- Type: Extreme.DataAnalysisAggregatorT, U
The aggregator to use.
Type Parameters
- U
- The type of the result of the aggregation.
Return Value
Type:
VectorUA vector that contains the result of the aggregations indexed
by the matrix's column index.
Reference