Neg1D

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

Purpose

Negates the elements of the input array.

Neg1D can perform the 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 negated and stored in the output array.
numberOfElements integer Number of elements to negate.
Output
Name Type Description
outputArray double-precision array Negated 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.