Yorick has a bewildering variety of different ways to refer to individual array elements or subsets of array elements. In order to master the language, you must learn to use them all. Nearly all of the examples later in this manual use one or more of these indexing techniques, so trust me to show you how to use them later:
• Scalar Index | Scalar indices and array order. | |
• Index Range | Selecting a range of indices. | |
• Nil Index | Nil index refers to an entire dimension. | |
• Index List | Selecting an arbitrary list of indices. | |
• Pseudo-Index | Creating a pseudo-index. | |
• Negative Index | Numbering a dimension from its last element. | |
• Rubber-Index | Using a rubber index. | |
• Matrix Multiply | Marking an index for matrix multiplication. | |
• Statistical | Rank reducing (statistical) range functions. | |
• Finite Difference | Rank preserving (finite difference) range functions. |