Aggregates the elements of a vector and returns the result.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public T Aggregate<U>(
Vector<U> values
)
Public Function Aggregate(Of U) (
values As Vector(Of U)
) As T
public:
generic<typename U>
T Aggregate(
Vector<U>^ values
)
member Aggregate :
values : Vector<'U> -> 'T
Parameters
- values
- Type: Extreme.MathematicsVectorU
A vector of values.
Type Parameters
- U
- The element type of the vector.
Return Value
Type:
T if the aggregation produced a result;
otherwise
.
Reference