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