Prod1D

Advanced Analysis Library Only

AnalysisLibErrType Prod1D (double inputArray[], int numberOfElements, double *product);

Purpose

Finds the product of the elements of the input array. Prod1D obtains the product of the elements using the following formula:

Parameters

Input
Name Type Description
inputArray double-precision array Input array whose elements are multiplied.
numberOfElements integer Number of elements to multiply.
Output
Name Type Description
product double-precision Product of elements of the elements of the input array.

Return Value

Name Type Description
status AnalysisLibErrType A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants.