Use between to select contiguous subarrays in indexing
operations. The between function would not normally be used directly
but rather inside bracket indexing operations as shown in the example.
This function is designed to support efficient indexing of contiguous
subarrays for arrays with non-integer dimensions.
Usage
between(a,b)
Arguments
a
A SciDB array range bound (numeric or string in the case of non-integer dimension)
b
A SciDB array range bound (numeric or string in the case of non-integer dimension)
Value
A function that evaluates to a list of the specified bounds.
# Upload data to create a 10x10 SciDB matrixA <- as.scidb(matrix(rnorm(100),10))
# The following are equivalent, but between avoids creating an# indexing vector:A[0:4,][]
A[between(0,4),][]