The H5S_CREATE_SCALAR function creates a scalar dataspace.
Note: Scalar dataspaces have no dimensionality thus H5S_GET_SIMPLE_EXTENT_DIMS and H5S_GET_SIMPLE_EXTENT_NDIMS will both return 0.
Syntax
Result = H5S_CREATE_SCALAR()
Return Value
The Result gives the dataspace identifier. This identifier should be released with the H5S_CLOSE procedure.
Arguments
None
Keywords
None
Version History