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