From 65eef4fade5eb426dae01d480f383b8a30b23071 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Wed, 11 Aug 2021 14:06:02 -0400 Subject: Change "BQN / main" in header to "(github) / BQN" --- docs/doc/shape.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/doc/shape.html') diff --git a/docs/doc/shape.html b/docs/doc/shape.html index 118353c6..99a4260e 100644 --- a/docs/doc/shape.html +++ b/docs/doc/shape.html @@ -3,7 +3,7 @@ BQN: Array dimensions - +

Array dimensions

The function Shape () returns an array's shape, and Rank (=) and Length () return properties that can be derived from the shape. BQN's arrays are multidimensional, so that the shape is a list of natural numbers (the length along each axis), while the rank (length of the shape) and length (of the first axis) are numbers. In these functions, an atom is treated as a unit array, which has rank 0 and empty shape. A unit has no first axis, but its length is defined to be 1.

Rank can be defined as while Length can be defined with a fold to be 1´.

-- cgit v1.2.3