HDF5 2.0.0.2ad0391
API Reference
|
Functions | |
hid_t | H5Tcomplex_create (hid_t base_type_id) |
Creates a new complex number datatype. | |
Creates a new complex number datatype.
[in] | base_type_id | Datatype identifier, datatype identifier for the base datatype of the complex number datatype. Must be a floating-point datatype. |
H5Tcomplex_create() creates a new complex number datatype consisting of real and imaginary number parts. The datatype for both parts of the new complex number datatype is based on base_type_id
, which must be a floating-point datatype.
When necessary, use H5Tget_super() to determine the base datatype of the complex number datatype.
The datatype identifier returned from this function should be released with H5Tclose() or resource leaks will result.