Aggregates the 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<U>(
Vector<U> values1,
Vector<U> values2,
out T result
)
Public Function TryAggregate(Of U) (
values1 As Vector(Of U),
values2 As Vector(Of U),
<OutAttribute> ByRef result As T
) As Boolean
public:
generic<typename U>
bool TryAggregate(
Vector<U>^ values1,
Vector<U>^ values2,
[OutAttribute] T% result
)
member TryAggregate :
values1 : Vector<'U> *
values2 : Vector<'U> *
result : 'T byref -> bool
Parameters
- values1
- Type: Extreme.MathematicsVectorU
A vector of values. - values2
- Type: Extreme.MathematicsVectorU
A vector of values. - result
- Type: T
The result of the aggregation.
Type Parameters
- U
- The element type of the vector.
Return Value
Type:
Boolean if the aggregation produced a result;
otherwise
.
Numerical Libraries
Supported in: 6.0
Reference