Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5S_GET_SIMPLE_EXTENT_NPOINTS

Determines the number of elements in a dataspace

Procedure:

H5S_GET_SIMPLE_EXTENT_NPOINTS ( space_id )

Signature:

hssize_t H5Sget_simple_extent_npoints(
            hid_t space_id
        )

Fortran90 Interface: h5sget_simple_extent_npoints_f
    
SUBROUTINE h5sget_simple_extent_npoints_f(space_id, npoints, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id    ! Dataspace identifier 
  INTEGER(HSIZE_T), INTENT(OUT) :: npoints  ! Number of elements in dataspace
  INTEGER, INTENT(OUT) :: hdferr            ! Error code
                                            ! 0 on success and -1 on failure
END SUBROUTINE h5sget_simple_extent_npoints_f 

Parameters:

hid_t space_id     IN: Identifier of the dataspace object to query

Description:

H5S_GET_SIMPLE_EXTENT_NPOINTS determines the number of elements in a dataspace space_id. For example, a simple 3-dimensional dataspace with dimensions 2, 3, and 4 would have 24 elements.

Returns:

Returns the number of elements in the dataspace if successful; otherwise returns a negative value.

Example:

Include Bitbucket Server for Confluence: File content cannot be shown

Unauthenticated access to this resource is not allowed. Please login to Confluence first.

Coming Soon!

History:

None

--- Last Modified: May 03, 2019 | 02:04 PM