Matrix Rank
Description
The rank of a matrix is the dimension of the row space of the matrix. For example, the matrix
(1)\begin{align} A= \begin{pmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{pmatrix} \end{align}
has rank 2.
Sage Cell
Code
A = Matrix([[1,2,3],[4,5,6],[7,8,9]]);
A.rank()
Options
None
Tags
Primary Tags: Linear Algebra: Matrices.
Secondary Tags: Matrices: Rank.
Related Cells
- Matrices in Sage. Matrices in Sage.
Attribute
Permalink:
Author:
Date: 22 Aug 2018 15:15
Submitted by: Tom Judson