pe_array_new

Creates an array

Usage syntax

PE_ARRAY pe_array_new (const char *name, int num_values, double *values);

Parameters
name Name of the new array
num_values Number of values in the new array
values A pointer to the values of the new array
Description

Pe_array_new defines a new array with the specified attributes. Arrays are used with PE_HTMETHOD and PE_ADHJCS objects.

Returns

On success, the new array with the attributes equal to the corresponding arguments; on failure, a null pointer

Examples

PE_ARRAY array1 = pe_array_new("affine_array",6, params);