Skip to content

Commit 3a64eb4

Browse files
committed
Fix formatting of Terms and Definitions section
Avoid each term being a separate ToC entry in the sidebar, and make the whole section more compact.
1 parent cbe7468 commit 3a64eb4

File tree

1 file changed

+10
-20
lines changed

1 file changed

+10
-20
lines changed

spec/purpose_and_scope.md

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -380,44 +380,34 @@ For the purposes of this specification, the following terms and definitions appl
380380

381381
<!-- NOTE: please keep terms in alphabetical order -->
382382

383-
### array
384-
383+
**array**:
385384
a (usually fixed-size) multidimensional container of items of the same type and size.
386385

387-
### axis
388-
386+
**axis**:
389387
an array dimension.
390388

391-
### broadcast
392-
389+
**broadcast**:
393390
automatic (implicit) expansion of array dimensions to be of equal sizes without copying array data for the purpose of making arrays with different shapes have compatible shapes for element-wise operations.
394391

395-
### compatible
396-
392+
**compatible**:
397393
two arrays whose dimensions are compatible (i.e., where the size of each dimension in one array is either equal to one or to the size of the corresponding dimension in a second array).
398394

399-
### element-wise
400-
395+
**element-wise**:
401396
an operation performed element-by-element, in which individual array elements are considered in isolation and independently of other elements within the same array.
402397

403-
### matrix
404-
398+
**matrix**:
405399
a two-dimensional array.
406400

407-
### rank
408-
401+
**rank**:
409402
number of array dimensions (not to be confused with the number of linearly independent columns of a matrix).
410403

411-
### shape
412-
404+
**shape**:
413405
a tuple of `N` non-negative integers that specify the sizes of each dimension and where `N` corresponds to the number of dimensions.
414406

415-
### singleton dimension
416-
407+
**singleton dimension**:
417408
a dimension whose size is one.
418409

419-
### vector
420-
410+
**vector**:
421411
a one-dimensional array.
422412

423413
* * *

0 commit comments

Comments
 (0)