Aggregates the specified range of elements of a vector and returns the result.
Namespace: Extreme.DataAnalysisAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public bool TryAggregate(
IVector values,
int startIndex,
int endIndex,
out T result
)
Public Function TryAggregate (
values As IVector,
startIndex As Integer,
endIndex As Integer,
<OutAttribute> ByRef result As T
) As Boolean
public:
bool TryAggregate(
IVector^ values,
int startIndex,
int endIndex,
[OutAttribute] T% result
)
member TryAggregate :
values : IVector *
startIndex : int *
endIndex : int *
result : 'T byref -> bool
Parameters
- values
- Type: Extreme.MathematicsIVector
A vector of values. - startIndex
- Type: SystemInt32
The zero-based index of the first element
in values that should be aggregated. - endIndex
- Type: SystemInt32
The zero-based index of the last element
in values 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
.
Numerical Libraries
Supported in: 6.0
Reference