Click or drag to resize

NMathFunctionsProduct(FloatVector) Method

Calculates the product of a given vector's elements.

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

Parameters

v  FloatVector
A vector.

Return Value

Single
The product of the elements in v.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if v has zero length.
Remarks
product = v[0] * v[1] * v[2]...
See Also