diff options
Diffstat (limited to 'subarray.txi')
-rwxr-xr-x[-rw-r--r--] | subarray.txi | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/subarray.txi b/subarray.txi index 17e5a48..d3d8470 100644..100755 --- a/subarray.txi +++ b/subarray.txi @@ -4,18 +4,18 @@ @defun subarray array select @dots{} -selects a subset of an array. For @var{array} of rank n, there must be at least -n @var{selects} arguments. For 0 <= @i{j} < n, @var{selects}@i{j} is either an integer, a -list of two integers within the range for the @i{j}th index, or #f. +selects a subset of an array. For 0 <= @i{j} < n, @var{select}@i{j} is either +an integer, a list of two integers within the range for the @i{j}th +index, or #f. -When @var{selects}@i{j} is a list of two integers, then the @i{j}th index is +When @var{select}@i{j} is a list of two integers, then the @i{j}th index is restricted to that subrange in the returned array. -When @var{selects}@i{j} is #f, then the full range of the @i{j}th index is +When @var{select}@i{j} is #f, then the full range of the @i{j}th index is accessible in the returned array. An elided argument is equivalent to #f. -When @var{selects}@i{j} is an integer, then the rank of the returned array is -less than @var{array}, and only elements whose @i{j}th index equals @var{selects}@i{j} are +When @var{select}@i{j} is an integer, then the rank of the returned array is +less than @var{array}, and only elements whose @i{j}th index equals @var{select}@i{j} are shared. @example |