Nested rectangular arrays for measures, addresses, and paths

  • Authors:
  • Trenchard More

  • Affiliations:
  • IBM Cambridge Scientific Center, 545 Technology Square, Cambridge, MA

  • Venue:
  • APL '79 Proceedings of the international conference on APL: part 1
  • Year:
  • 1979

Quantified Score

Hi-index 0.00

Visualization

Abstract

The left argument of the reshaping function in APL is an ordinal number or list of ordinals, called a shape, that measures the rectangularity of an array. Shapes are the simplest measures. A natural extension of the index-generator function shows how an array of any valence (rank), depth of nesting, or type can be used as a measure. The method of generalizing shapes to measures also generalizes addresses and paths to arbitrary arrays. Only the leaves of a measure, address, or path matter, the nested rectangular structure does not. These results of array theory for floating arrays are motivated by similar considerations for grounded arrays.