Linq Extensions.Aggregate<T>(Vector<T>, Func<T, T, T>) Method
Applies an accumulator function over the elements of a vector.
Definition
Namespace: Extreme.DataAnalysis.Linq
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The final accumulator value.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static T Aggregate<T>(
this Vector<T> vector,
Func<T, T, T> func
)
Parameters
- vector Vector<T>
- A vector to aggregate over.
- func Func<T, T, T>
- An accumulator function to apply to each element.
Type Parameters
- T
- The type of the elements of the vector.
Return Value
TThe final accumulator value.