Creates a DRMS_Array_t struct with the specified values for the elements type, naxis, and axis. The array axis must be of length naxis (at least) unless it is NULL. If data is a nun-NULL pointer, the data pointer of the created array is set to it; otherwise, a data space of appropriate size is malloc'd (but left with unknown contents). type cannot be DRMS_TYPE_RAW. No checks are made for legitimate (positive) values of axis[n]. None of the other elements of the struct are filled except dope.
Definition at line 7 of file drms_array.c.
|