Clear1D
AnalysisLibErrType Clear1D (double array[], ssize_t numberOfElements);
Purpose
Sets the elements of an array to zero.
The following example uses the Clear1D function.
double inputArray[10];
AnalysisLibErrType status;
// Generate an array of random numbers
status = Uniform (10, 17, inputArray);
status = Clear1D(inputArray, 10);
Parameters
| Input | ||
| Name | Type | Description |
| numberOfElements | ssize_t | Number of elements in the array. |
| Output | ||
| Name | Type | Description |
| array | double [] | The array to clear. |
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. |
Additional Information
Library: Analysis Library
Include file: analysis.h
LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later
