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.Tue, 04 Oct 2022 03:33:16 +0200Matrix kernel not shown when printedhttps://ask.sagemath.org/question/64271/matrix-kernel-not-shown-when-printed/I ran mat.kernel() and then tried to print it. That gave the following without showing a representation how do I get a representation shown?
> Vector space of degree 201 and dimension 1 over Rational Field
> Basis matrix:
> 1 x 201 dense matrix over Rational FieldSat, 01 Oct 2022 20:42:43 +0200https://ask.sagemath.org/question/64271/matrix-kernel-not-shown-when-printed/Comment by kevinfat for <p>I ran mat.kernel() and then tried to print it. That gave the following without showing a representation how do I get a representation shown?</p>
<blockquote>
<p>Vector space of degree 201 and dimension 1 over Rational Field
Basis matrix:
1 x 201 dense matrix over Rational Field</p>
</blockquote>
https://ask.sagemath.org/question/64271/matrix-kernel-not-shown-when-printed/?comment=64291#post-id-64291great matrix() workedTue, 04 Oct 2022 03:33:16 +0200https://ask.sagemath.org/question/64271/matrix-kernel-not-shown-when-printed/?comment=64291#post-id-64291Answer by Max Alekseyev for <p>I ran mat.kernel() and then tried to print it. That gave the following without showing a representation how do I get a representation shown?</p>
<blockquote>
<p>Vector space of degree 201 and dimension 1 over Rational Field
Basis matrix:
1 x 201 dense matrix over Rational Field</p>
</blockquote>
https://ask.sagemath.org/question/64271/matrix-kernel-not-shown-when-printed/?answer=64272#post-id-64272Try `print(mat.kernel().matrix())` if you want to see its basis as a matrix.Sat, 01 Oct 2022 20:53:41 +0200https://ask.sagemath.org/question/64271/matrix-kernel-not-shown-when-printed/?answer=64272#post-id-64272