2013-05-24 14:28:59 +0200 | commented answer | How do you factor Schubert Polynomials in Sage? Thank you -- this helped a lot! |
2013-05-24 14:28:19 +0200 | received badge | ● Scholar (source) |
2013-05-24 14:28:19 +0200 | marked best answer | How do you factor Schubert Polynomials in Sage? This is because the defaut base ring is ZZ and not QQ. |
2013-05-24 14:28:18 +0200 | received badge | ● Supporter (source) |
2013-03-15 17:18:37 +0200 | asked a question | How do you factor Schubert Polynomials in Sage? I am interested in factoring (sums of) Schubert polynomials using Sage (which uses Singular). Here's my input attempt: > X = SchubertPolynomialRing(QQ) > f = X([5,4,2,6,1,3]).expand(); f > f.factor() However, while the second line gives a correct output, x0^4*x1^3*x2^2*x3 + x0^4*x1^3*x2*x3^2, when I try to factor this output, I get the following error message: "NotImplementedError: Factorization of multivariate polynomials over non-fields is not implemented." I don't know how to get Sage to recognize a SchubertPolynomialRing as being over a field. Any suggestions? |