Using the C++ Math Library | ![]() ![]() |
Using One-Dimensional Subscripts
This section describes how to select:
colon
indexAll examples work with example matrix A
. Notice that the value of each element in A
is equal to that element's position in the column-major enumeration order. For example, the third element of A
is the number 3 and the ninth element of A
is the number 9.
A = 1 4 7 2 5 8 3 6 9
![]() | Array Storage | Overview | ![]() |