2017-10-09 07:10:23 -0500 | received badge | ● Popular Question (source) |

2017-06-29 20:03:24 -0500 | commented answer | Vertices of Polytope This is very helpful, thanks for your detailed response! |

2017-06-27 16:57:32 -0500 | asked a question | Vertices of Polytope Hi! I have a list of points that I'm using to construct a convex, finite-sided, compact polytope: I know how to extract from P1 the list of vertices that define it: This returns the following output: But what I'd like to do is have a Thanks! |

2017-06-12 09:23:22 -0500 | commented question | Recasting Laurent polynomials Also, I have already seen (https://ask.sagemath.org/question/33260/gcd-of-multivariable-polynomials-and-conversion-of-laurent-polynomials-to-ordinary-polynomials/ (https://ask.sagemath.org/question/332...)), but it didn't help me fix the issue at hand. Thanks again! |

2017-06-12 09:23:22 -0500 | asked a question | Recasting Laurent polynomials Hi, I have 2 Laurent polynomials, f and g, and I'm trying to recast them into multivariable polynomials over ZZ (I'm eventually going to take their gcd). However, I'm not able to do so on the Sage Cloud. So far, I've tried the following: - Extracting the monomials of f and g, and their coefficients, and reconstructed f by:
However, this didn't help, because SAGE thinks the type is: so I still can't take the gcd. I also tried to recast into R.<x,y> = ZZ[], but this didn't work either: when I do `sage: f.change_ring(R)` , I get the following error:`AttributeError: 'sage.rings.polynomial.laurent_polynomial.LaurentPolynomial_mpair' object has no attribute 'change_ring'`
Any suggestions would be greatly appreciated!! Thanks so much. |

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.