aryStype

Set a new type for an array

Description:

This function sets a new full type for an array, causing its data storage type to be changed. If the array s pixel values are defined, then they will be converted from the old type to the new one. If they are undefined, then no conversion will be necessary. Subsequent enquiries will reflect the new type. Conversion may be performed between any types supported by the ary_ routines, including from a non-complex type to a complex type (and vice versa).

Invocation

void aryStype( const char ftype, Ary ary, int status )

Notes:

Parameters :

ftype
The new full type specification for the array (e.g. _REAL or COMPLEX_INTEGER ).
ary
Array identifier.
status
The global status.