ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 01 Oct 2022 03:06:03 +0200Get maximally linearly independent set of vectorshttps://ask.sagemath.org/question/64263/get-maximally-linearly-independent-set-of-vectors/ Given a matrix where each row represents a vector how can I find a set of maximally linearly independent vectors from the collection of vectors. I'm not looking for a echelon form from which I can get a representation for the span I want my representation of the span to only use the original vectors. Does Sage have functions to easily do this?Sat, 01 Oct 2022 00:11:28 +0200https://ask.sagemath.org/question/64263/get-maximally-linearly-independent-set-of-vectors/Answer by Max Alekseyev for <p>Given a matrix where each row represents a vector how can I find a set of maximally linearly independent vectors from the collection of vectors. I'm not looking for a echelon form from which I can get a representation for the span I want my representation of the span to only use the original vectors. Does Sage have functions to easily do this?</p>
https://ask.sagemath.org/question/64263/get-maximally-linearly-independent-set-of-vectors/?answer=64264#post-id-64264Yes, a maximal collection of linearly independent rows can be found by calling `M.pivot_rows()` for a given matrix `M`.Sat, 01 Oct 2022 03:06:03 +0200https://ask.sagemath.org/question/64263/get-maximally-linearly-independent-set-of-vectors/?answer=64264#post-id-64264