Changes between Version 4 and Version 5 of Arrays
- Timestamp:
- 09/15/13 09:17:46 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Arrays
v4 v5 59 59 == Sequence Operations == 60 60 61 The following operations are available for arrays:61 The following operations are available for true arrays: 62 62 63 63 * `int $length(T a[[]])` … … 70 70 * returns the result of removing the element at index `i` from the array `a` (with subsequent elements shifted down) 71 71 * `T[[]] $subseq(T a[[]], int start, int end)` 72 * returns the sub sequenceof `a` starting at index `start` and ending at index `end-1`72 * returns the sub-array of `a` starting at index `start` and ending at index `end-1` 73 73 * `T[[]] $write(T a[[]], int i, T x)` 74 * returns the sequenceobtained by replacing the element of `a` at index `i` with `x`74 * returns the array obtained by replacing the element of `a` at index `i` with `x` 75 75 76 76 == Other related ideas ==
