Vector<T>.Product Method

Gets the product of the elements of the vector.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.7.0
C#
public virtual T Product()

Return Value

T
The product of the elements.

Remarks

The product of an empty vector is One. Missing-aware vectors skip missing values, so an all-missing vector returns the same value.

See Also