# Set1D

AnalysisLibErrType Set1D (double array[], int numberOfElements, double setValue);

## Purpose

Sets the elements of an array to a specified constant value.

## Parameters

Input
Name | Type | Description
numberOfElements | integer | Number of elements in the array.
setValue | double-precision | The constant value to assign to the elements of the input array. Default Value: 0.0
Output
Name | Type | Description
array | double-precision array | The array to set.

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