Function
VipsArrayDoublenew
Declaration [src]
VipsArrayDouble*
vips_array_double_new (
const double* array,
int n
)
Description [src]
Allocate a new array of doubles and copy array into it. Free with
vips_area_unref().
See also
Parameters
array-
Type: An array of
doubleArray of double.
The length of the array is specified in the nargument.The data is owned by the caller of the function. n-
Type:
intNumber of doubles.
Return value
Type: VipsArrayDouble
A new VipsArrayDouble.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |