Aggregates the elements of a sequence and returns the result.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public bool TryAggregate<U>(
IEnumerable<U> values,
bool checkForMissingValues,
out T result
)
Public Function TryAggregate(Of U) (
values As IEnumerable(Of U),
checkForMissingValues As Boolean,
<OutAttribute> ByRef result As T
) As Boolean
public:
generic<typename U>
bool TryAggregate(
IEnumerable<U>^ values,
bool checkForMissingValues,
[OutAttribute] T% result
)
member TryAggregate :
values : IEnumerable<'U> *
checkForMissingValues : bool *
result : 'T byref -> bool
Parameters
- values
- Type: System.Collections.GenericIEnumerableU
A sequence of values. - checkForMissingValues
- Type: SystemBoolean
Indicates whether
missing values should be filtered from the sequence. - result
- Type: T
The result of the aggregation.
Type Parameters
- U
Return Value
Type:
Boolean if the aggregation produced a result;
otherwise
.
Reference