Matrix entries
A matrix entry is selected by a row index followed by a column index, each counted from one.
On this page 7 sections
01An entry is one number in a matrix#
An entry is one number in a matrix. The notation means row , column of matrix . Count both from 1.
For the labelled matrix, row 2 is . Its third entry is 2, so .
Find .
Show answer and explanation
Row 1, column 2 contains −4.
02Indices must name an existing row and column#
Indices must name an existing row and column. In a matrix, exists; does not because there is no row 3.
. Find .
Show answer and explanation
There is no third row.
03Labels give entries meaning#
Labels give entries meaning. If rows list people and columns list measurements, choose the person’s row and the measurement’s column using the declared orders.
Rows: (Ada, Bo). Columns: (cats, dogs). Value for Bo, dogs?
Show answer and explanation
Row 2, column 2: 3.
Read the first index as row and the second as column.
- Retrieve a matrix entry using its row and column indices.
Sources & further reading
- [1]