Aggregates the specified 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(
IVector values,
Array1D<int> indexes,
int length,
out T result
)
Public Function TryAggregate (
values As IVector,
indexes As Array1D(Of Integer),
length As Integer,
<OutAttribute> ByRef result As T
) As Boolean
public:
bool TryAggregate(
IVector^ values,
Array1D<int> indexes,
int length,
[OutAttribute] T% result
)
member TryAggregate :
values : IVector *
indexes : Array1D<int> *
length : int *
result : 'T byref -> bool
Parameters
- values
- Type: Extreme.MathematicsIVector
A vector of values. - indexes
- Type: Extreme.CollectionsArray1DInt32
An integer array containing the indexes
of the elements of values that will be aggregated. - length
- Type: SystemInt32
The number of values to aggregate. - result
- Type: T
The vector that is to hold the result.
Return Value
Type:
Boolean if the aggregation produced a result;
otherwise
.
Reference