Aggregates the specified range of elements of a vector and returns the result.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
bool TryAggregate(
IVector values1,
IVector values2,
int startIndex,
int endIndex,
out T result
)
Function TryAggregate (
values1 As IVector,
values2 As IVector,
startIndex As Integer,
endIndex As Integer,
<OutAttribute> ByRef result As T
) As Boolean
bool TryAggregate(
IVector^ values1,
IVector^ values2,
int startIndex,
int endIndex,
[OutAttribute] T% result
)
abstract TryAggregate :
values1 : IVector *
values2 : IVector *
startIndex : int *
endIndex : int *
result : 'T byref -> bool
Parameters
- values1
- Type: Extreme.MathematicsIVector
A vector of values. - values2
- Type: Extreme.MathematicsIVector
A vector of values. - startIndex
- Type: SystemInt32
The zero-based index of the first element
in values1 and values2 and values2 that should be aggregated. - endIndex
- Type: SystemInt32
The zero-based index of the last element
in values1 and values2 and values2 that should be aggregated. - result
- Type: T
The vector that is to hold the result.
Return Value
Type:
Boolean if the aggregation produced a result;
otherwise
.
Reference