diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:06:40 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:06:40 -0800 |
commit | a69c9fb665459e2bfdbda1bf80741a0af31a7faf (patch) | |
tree | f0bc974f8805049e6b9a4e6864886298fbaa05a4 /subarray.txi | |
parent | 4684239efa63dc1b2c1cbe37ef7d3062029f5532 (diff) | |
download | slib-a69c9fb665459e2bfdbda1bf80741a0af31a7faf.tar.gz slib-a69c9fb665459e2bfdbda1bf80741a0af31a7faf.zip |
New upstream version 3b5upstream/3b5upstream
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 |