ILNumerics Ultimate VS

ILMathprodall Method (BaseArraySingle)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Computes the product of all elements of A.

[ILNumerics Computing Engine]

Namespace:  ILNumerics
Assembly:  ILNumerics.Computing (in ILNumerics.Computing.dll) Version: (5.5.7503.3146)

public static RetArray<float> prodall(
	BaseArray<float> A


Type: ILNumericsBaseArraySingle
Input array.

Return Value

Type: RetArraySingle
Scalar array with the product of all elements of A.

The operation is efficiently performed on all elements of the input array A.

The operation is performed in multiple threads, according to the current settings of MaxNumberThreads.

The input array A is not altered.

This operation returns a scalar array, regardless of the shape of A. The number of dimensions of the scalar returned depends on the setting of MinNumberOfArrayDimensions. If A is empty the scalar value returned corresponds to the default value of the element datatype. For numerical element types the default value is 0. For boolean / logical elements the default is false.

[ILNumerics Computing Engine]

See Also