Converts the first n values of src->data, interpreted as being of type srctype, to type dsttype, with scaling by bzero and bscale as applicable for the datatype, by calling the appropriate function drms_array2*. The resulting data are placed in dst.
- Parameters:
-
| n | Number of values to convert. |
| dsttype | Destination datatype (see DRMS_Type_t). |
| bzero | Offset by which raw data values are to be shifted to produce actual data values. |
| bscale | Scaling factor by which raw data values are to be multiplied to produce actual data values. |
| dst | Contiguous array of type dsttype into which the converted data are stored upon success. |
| srctype | Source datatype (see DRMS_Type_t). |
| src | Source data, which is of type srctype. |
- Returns:
- DRMS status (see drms_statuscodes.h). 0 if successful, non-0 otherwise.
Definition at line 161 of file drms_array.c.