Learn R Programming

hdf5r (version 1.3.11)

args_regularity_evaluation: Evaluate if the arguments are regular for hyperslab use

Description

Evaluate if the arguments are regular for hyperslab use

Usage

args_regularity_evaluation(args, ds_dims, envir, post_read = TRUE)

Value

A list with 2 parts; Evaluated arguments, regularity report and reshuffle indicators. Will be returned as a list with components args_in, args_point, is_hyperslab, hyperslab, needs_reshuffle, reshuffle, result_dims_pre_shuffle, result_dims_post_shuffle, max_dims

Arguments

args

The arguments input; if it was empty, then set to NULL

ds_dims

The dimensions of the input dataset

envir

The environment in which to evaluate the arguments

post_read

Should the reshuffle be computed for post-read (then TRUE) or pre-write (then FALSE)

Author

Holger Hoefling

Details

For each argument check if it can be used as a hyperslab, potentially after sorting and making unique.