Matrix RREF
Description
Here is Sage cell that computes the RREF (Reduced Row Echelon Form) for matrix $A$:
(1)\begin{align} A = \begin{pmatrix} 1 & 2 & 6 \\ 3 & 4 & 24 \end{pmatrix} \end{align}
Sage Cell
Code
A = matrix([[1, 2, 6], [3, 4, 24]])
A.rref()
Options
Computing Row Echelon Form
Sage also has the option to simply compute the row echelon form of a matrix.
A = matrix([[1, 2, 6], [3, 4, 24]])
A.echelon_form()
Tags
CC:
Primary Tags: Linear algebra: Matrices.
Secondary Tags: Matrices: Echelon form.
Related Cells
- Matrices in Sage. Matrices in Sage.
- Elementary Row Operations on Matrices Using Sage to perform elementary row operations.
Attribute
Permalink:
Author:
Date: 04 Mar 2019 21:44
Submitted by: Zane Corbiere