Page tree

The license could not be verified: License Certificate has expired!

 

JAVA

FORTRAN

C++

C

 

Link

H5S_COMBINE_HYPERSLAB

Performs an operation on a hyperslab and an existing selection and returns the resulting selection

Procedure:

H5S_COMBINE_HYPERSLAB  ( old_space, op, start, stride, count, block, new_space )

Signature:

herr_t H5S_combine_hyperslab ( H5S_t *old_space, H5S_seloper_t op, const hsize_t start[],
    const hsize_t *stride, const hsize_t count[], const hsize_t *block, H5S_t **new_space )

Replace this text with the Fortran function signature

Parameters:
H5S_t *old_spaceIN: Dataspace identifier of the current hyperslab selection
H5S_seloper_t opIN: Operation to perform on the current selection
const hsize_t start[]IN: Offset of the start of of the hyperslab
const hsize_t *strideIN: Hyperslab stride
const hsize_t count[]IN: Number of blocks included in the hyperslab
const hsize_t *blockIN: Size of a block in the hyperslab
H5S_t **new_spaceOUT: The new dataspace to store the selection result

Description:

H5S_COMBINE_HYPERSLAB combines a hyperslab selection specified by start, stride, count and block with the current selection for the dataspace old_space, and stores the result in a new dataspace new_space. If either stride or block is NULL, then it will be set to 1. The extent of the dataspace for the selection old_space will be used for the extent of the dataspace returned. The following operations are defined:

  • H5S_SELECT_SET: replacing existing selection with the parameters provided
  • H5S_SELECT_OR: logical OR of elements in selection A and selection B
  • H5S_SELECT_AND: logical AND of elements in selection A and selection B
  • H5S_SELECT_XOR: logical XOR of elements in selection A and selection B
  • H5S_SELECT_NOTB: subtract selection B from selection A
  • H5S_SELECT_NOTA: subtract selection A from selection B

Returns:

Non-negative on success and Negative on failure

Example:

Coming Soon!

History:
ReleaseChange
1.12.0Function introduced in this release.

--- Last Modified: September 09, 2019 | 11:17 AM