Pivot Columns

Description

With the .pivots() method, we can find the pivot columns of a matrix without needing to row reduce it. Note that Sage numbers columns starting from 0: the first column is column 0, the second is column 1, and so on.

Sage Cell

Code

A = matrix(QQ, [[1, 2, 3], [4, 5, 6]])
A.pivots()

Options

none

Tags

CC:

Primary Tags: Linear algebra: Matrices.

Secondary Tags: Matrices: Row operations, Echelon form.

Related Cells

Attribute

Permalink:

Author: R. Beezer

Date: 24 Feb 2020 15:42

Submitted by: Zane Corbiere

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License