Aggregator<T, U>.Aggregate Method
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Aggregate( | Aggregates the elements of a vector and returns the result. |
Aggregate( | Aggregates the elements of a vector and returns the result. |
Aggregate( | Aggregates the elements of a vector and returns the result. |
Aggregate( | Aggregates the elements of a vector according to the specified grouping. |
Aggregate( | Aggregates over a span and returns the result. |
Aggregate( | Aggregates over a span and returns the result. |
Aggregate(ReadOnlySpan<T>)
Aggregates the elements of a vector and returns the result.
public U Aggregate(
ReadOnlySpan<T> values
)
Parameters
- values ReadOnlySpan<T>
- A vector of values.
Return Value
UThe result of the aggregation.
Aggregate(Vector<T>)
Aggregates the elements of a vector and returns the result.
Aggregate(ReadOnlySpan<T>, Int32)
Aggregates the elements of a vector and returns the result.
public U Aggregate(
ReadOnlySpan<T> values,
int stride
)
Parameters
- values ReadOnlySpan<T>
- A vector of values.
- stride Int32
Return Value
UThe result of the aggregation.
Aggregate(Vector<T>, IGrouping)
Aggregates the elements of a vector according to the specified grouping.
public Vector<U> Aggregate(
Vector<T> values,
IGrouping grouping
)
Parameters
Return Value
Vector<U>A vector containing the aggregated values.
Aggregate(ReadOnlySpan<T>, Int32, Func<T, Boolean>)
Aggregates over a span and returns the result.
public U Aggregate(
ReadOnlySpan<T> values,
int stride,
Func<T, bool> predicate
)
Parameters
Return Value
UThe result of the aggregation.
Aggregate(ReadOnlySpan<T>, Int32, ReadOnlySpan<Boolean>, Int32)
Aggregates over a span and returns the result.
public U Aggregate(
ReadOnlySpan<T> values,
int stride,
ReadOnlySpan<bool> mask,
int maskStride
)
Parameters
- values ReadOnlySpan<T>
- A span of values.
- stride Int32
- mask ReadOnlySpan<Boolean>
- A span of booleans.
- maskStride Int32
Return Value
UThe result of the aggregation.