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.Mon, 27 Jan 2014 07:12:44 +0100Linear subspace of polynomial ringhttps://ask.sagemath.org/question/10964/linear-subspace-of-polynomial-ring/I am trying to compute a QQ-linear subspace W of a polynomial ring R over QQ. However, R does not seem to have a method like subspace.
So what I would like to do is
R=PolynomialRing(QQ,'x',3)
x=R.gens()
W=R.subspace([x[0]^2,3*x[1]+x[0]])
For further purposes I still want to apply functions defined on the ring R to elements of W but also apply linear algebra methods (linear maps, eigenspaces, ...) to W.
I am sorry to bother you with this, it should be very easy, but I did not find a way to do it.Johannes SchmittMon, 27 Jan 2014 07:12:44 +0100https://ask.sagemath.org/question/10964/