DIPlib Documentation - ©1995-2014 Quantitative Imaging Group, Delft University of Technology.

ArrayNew

Array allocation function

SYNOPSIS

dip_Error dip_ArrayNew ( array, size, elementSize, resources )

FUNCTION

This functions allocates the size elements of a dip_Array and sets the size of the array to size. The size of each element is determined by elementSize.

ARGUMENTS

Data typeNameDescription
dip_Array *arrayArray
dip_intsizeSize
dip_intelementSizeElementSize
dip_ResourcesresourcesResources tracking structure. See ResourcesNew

SEE ALSO

ArrayNew, ArrayFree

ArrayNew, IntegerArrayNew, FloatArrayNew, ComplexArrayNew, BoundaryArrayNew, FrameWorkProcessArrayNew, DataTypeArrayNew, ImageArrayNew, BooleanArrayNew, VoidPointerArrayNew, StringArrayNew, CoordinateArrayNew