[sage-devel] Re: dontfactor parameter in factor() still factoring.

2018-04-16 Thread Ralf Stephan
On Monday, April 16, 2018 at 3:21:35 PM UTC+2, Dorian Sabaz wrote: > > *sage:* p.factor(dontfactor=[k]) > > 1/2*(pi*n + k*t)/k # bad (factors k still: > dontfactor not recognized for k), 1/2 factored as should be. > > *sage:* p.factor(k) > > 1/2*(pi*n + k*t)/k

[sage-devel] dontfactor parameter in factor() still factoring.

2018-04-16 Thread Dorian Sabaz
I’ve simplified, as much as I can, the problem to the following example, consider: *sage:* var(‘n, k, t’) (n, k, t) # good *sage:* p=1/2*(n*pi/k + t) *sage:* p 1/2*pi*n/k + 1/2*t # acceptable expansion but not perfect: should be

[sage-devel] Re: Problem of reduction of rational functions

2018-04-16 Thread Matthias Koeppe
This is discussed in https://trac.sagemath.org/ticket/16993 On Sunday, April 15, 2018 at 9:39:36 PM UTC+2, dhr wrote: > > Hi > > Reduction of rational functions seems not to work in specific cases. > In the following output, > > === > sage: R.=QQ[] > sage: (2*t+2)/(2*t) > (2*t + 2

Re: [sage-devel] Problem of reduction of rational functions

2018-04-16 Thread John Cremona
On 16 April 2018 at 00:06, Nils Bruin wrote: > On Sunday, April 15, 2018 at 3:53:08 PM UTC-7, Dima Pasechnik wrote: >> >> >> It would be nice to have better simplification rules for QQ (and more >>> generally fraction fields). >>> >> >> I suppose it's only OK to have as an option, as in general c

Re: [sage-devel] Problem of reduction of rational functions

2018-04-16 Thread Dima Pasechnik
in multivariate case things like GCD are certainly very expensive. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post

Re: [sage-devel] Integrating SageMath into existing Python install / Python compiling error

2018-04-16 Thread Samuel Lelievre
Mon 2018-04-16 07:52:38 UTC, Erik Bray: > > On Sat, Apr 14, 2018 at 11:29 AM, Thierry > wrote: > > Hi, > > > > On Fri, Apr 13, 2018 at 03:02:24PM +0200, Erik Bray wrote: > > [...] > >> There was an official Debian package for Sage that was mostly working, > >> but there hasn't been regular-

Re: [sage-devel] Integrating SageMath into existing Python install / Python compiling error

2018-04-16 Thread Erik Bray
On Sat, Apr 14, 2018 at 11:29 AM, Thierry wrote: > Hi, > > On Fri, Apr 13, 2018 at 03:02:24PM +0200, Erik Bray wrote: > [...] >> There was an official Debian package for Sage that was mostly working, >> but there hasn't been regular-enough maintenance on it to keep it >> working, something some of