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<T>(
Vector<T> values
)
Public Function Aggregate(Of T) (
values As Vector(Of T)
) As T
public:
generic<typename T>
T Aggregate(
Vector<T>^ values
)
member Aggregate :
values : Vector<'T> -> 'T
Parameters
- values
- Type: Extreme.MathematicsVectorT
A vector of values.
Type Parameters
- T
- The element type of the vector.
Return Value
Type:
T if the aggregation produced a result;
otherwise
.
Reference