| | 535 | |
| | 536 | =item shape |
| | 537 | |
| | 538 | our Capture method shape (@array: ) is export |
| | 539 | |
| | 540 | Returns the declared shape of the array, as described in S09. |
| | 541 | |
| | 542 | =item end |
| | 543 | |
| | 544 | our Any method end (@array: ) is export |
| | 545 | |
| | 546 | Returns the final subscript of the first dimension; for a one-dimensional |
| | 547 | array this simply the index of the final element. For fixed dimensions |
| | 548 | this is the declared maximum subscript. For non-fixed dimensions (undeclared |
| | 549 | or explicitly declared with C<*>), the actual last element is used. |
| | 550 | |
| | 551 | =item elems |
| | 552 | |
| | 553 | our Int method elems (@array: ) is export |
| | 554 | |
| | 555 | Returns the length of the array counted in elements. (Sparse array |
| | 556 | types should return the actual number of elements, not the distance |
| | 557 | between the maximum and minimum elements.) |