Click or drag to resize

NMathFunctionsSum(FloatVector) Method

Calculates the sum of a given vector's elements.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static float Sum(
	FloatVector v
)

Parameters

v  FloatVector
A vector.

Return Value

Single
The sum.
Remarks
sum = v[0] + v[1] + v[2]... + v[n]
See Also