Abs1D

AnalysisLibErrType Abs1D (double inputArray[], int numberOfElements, double outputArray[]);

Purpose

Finds the absolute values of the array elements.

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

Parameters

Input
Name Type Description
inputArray double-precision array The input array whose values are converted to absolute values and stored in the output array.
numberOfElements integer Number of elements to convert to absolute values.
Output
Name Type Description
outputArray double-precision array Absolute values 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.