Vector.Sum<T> Method
Returns the sum of the components of a vector.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
The sum of the components of vector.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public static T Sum<T>(
this Vector<T> vector
)
Parameters
Type Parameters
- T
Return Value
TThe sum of the components of vector.