Dear all,
I just noted the following:
sage: R = LaurentPolynomialRing(ZZ,'x,y')
sage: T = R.remove_var('x')
sage: T.inject_variables()
Defining y
sage: y in T
True
sage: y in R
True
As one should expect, now for a second try
sage: R = LaurentPolynomialRing(ZZ,'x,y,z')
sage: T =
Thank you for the pointer,
I will move the discussion there.
S.
* Nicolas M. Thiery <nicolas.thi...@u-psud.fr> [2015-11-03 17:04:31]:
> On Tue, Nov 03, 2015 at 04:37:25PM +0100, VulK wrote:
> > I just noted the following:
> >
> > sage: R = LaurentPolynomia
Dear all,
As some of you might know I am trying to optimize the way in which cluster
algebras are implemented in sage.
In my current implementation one of the biggest bottleneck happens when
I take powers of polynomials in n variables (n is usually much smaller than
10) with integer
Dear All,
here is a brief status update on this issue. TL;DR: Laurent Polynomial Ring
does not provide a gcd implementation.
Recall that we are in this situation:
sage: L = LaurentPolynomialRing(LaurentPolynomialRing(ZZ,'t'),'x')
sage: R = L.fraction_field()
sage: R.inject_variables()
Defining x
Dear all,
I just noted the following odd behaviour:
sage: L = LaurentPolynomialRing(ZZ, 'x').fraction_field()
sage: L.inject_variables()
Defining x
sage: x/x
1
As one should expect but if we change the base ring then things get messy:
sage: L =
Hi,
I guess injecting simple roots would be my choice.
If not possible, at least, it would be cleaner to remove inject_variables
from the auto completion list for A.
S.
* Nicolas M. Thiery nicolas.thi...@u-psud.fr [2012-07-12 23:47:34]:
On Thu, Jul 12, 2012 at 11:08:54PM -0400, VulK wrote:
I
Hi,
I just noticed the following odd behaviour:
sage: L=RootSystem(['A',2]).root_lattice()
sage: L.inject_variables()
---
ValueErrorTraceback (most recent call last)
Sorry I meant there are problem applying
trac_6588-categories-root_systems-review-nt.patch
S.
* Christian Stump christian.st...@gmail.com [2012-03-10 18:43:30]:
Dear Salvatore,
sage: S=ClusterSeed(['E',8])
sage: T=S.principal_extension()
sage: T.b_matrix_class()