From afa17dfda2fb4fcc74e58236b2bf86f9ba6c50a4 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Sat, 22 Aug 2020 14:15:28 -0400 Subject: Add favicon --- docs/doc/indices.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs/doc/indices.html') diff --git a/docs/doc/indices.html b/docs/doc/indices.html index 5366bdb6..8502faa8 100644 --- a/docs/doc/indices.html +++ b/docs/doc/indices.html @@ -1,4 +1,7 @@ - + + + +

Indices

One-dimensional arrays such as K lists or Python arrays have only one kind of index, a single number that refers to an element. For multidimensional arrays using the leading axis theory, there are several types of indexing that can be useful. Historically, nested APL designs have equivocated between these, which I believe can lead to subtle errors when programming. BQN focuses on single-number (depth 0) indices, which can refer to list elements or array major cells (or more generally indexing along any particular axis). When using this kind of element index, indexed arrays are required to be lists. Only two functions allow the use of list element indices: Range (), which can accept a list argument, and Pick (), which uses the depth-1 arrays in its left argument as index scalars or lists. Others use single-number indices to refer to cells.

-- cgit v1.2.3