Advanced Analysis Library Only
AnalysisLibErrType Reverse (double inputArray[], int numberOfElements, double outputArray[]);
Reverses the order of the elements of the input array using the following formula:
yi = xn – i – 1
for i = 0, 1, . . ., n – 1
Reverse can perform the operation in place; that is, the input and output arrays can be the same.
| Input | ||
| Name | Type | Description |
| inputArray | double-precision array | Input array whose elements are placed in reverse order in the output array. |
| numberOfElements | integer | Number of elements to reverse. |
| Output | ||
| Name | Type | Description |
| outputArray | double-precision array | Reversed array. |
| Name | Type | Description |
| status | AnalysisLibErrType | A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants. |