# Mul1D

AnalysisLibErrType Mul1D (double arrayX[], double arrayY[], int numberOfElements, double outputArray[]);

## Purpose

Multiplies two 1D arrays, element by element. Mul1D obtains the element of the output array using the following formula:

zi = xi × yi

Mul1D can perform the operation in place; that is, the input and output arrays can be the same.

## Parameters

Input
Name | Type | Description
arrayX | double-precision array | The first array used in the array multiplication operation.
arrayY | double-precision array | The second array used in the array multiplication operation.
numberOfElements | integer | Number of elements to multiply.
Output
Name | Type | Description
outputArray | double-precision array | The result of the array multiplication.

## 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.