chickadee » generalized-arrays » array-slice

array-slice array start end #!optional stepprocedure

Returns a smaller array with the same rank as array whose elements begin at the "lower left" corner specified by start and end at the "upper right" corner specified by end. The optional step parameter describes how many elements to move along each axis (default a vector of rank length of all ones). Unlike array-copy, the result shares its storage object with array. (APL take and drop.)