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 bool TryAggregate<U>(
Vector<U> values,
out T result
)
Public Function TryAggregate(Of U) (
values As Vector(Of U),
<OutAttribute> ByRef result As T
) As Boolean
public:
generic<typename U>
bool TryAggregate(
Vector<U>^ values,
[OutAttribute] T% result
)
member TryAggregate :
values : Vector<'U> *
result : 'T byref -> bool
Parameters
- values
- Type: Extreme.MathematicsVectorU
A vector of values. - result
- Type: T
The result of the aggregation.
Type Parameters
- U
- The element type of the vector.
Return Value
Type:
Boolean if the aggregation produced a result;
otherwise
.
Reference